Class: AArch64::Registers::WRegister
- Defined in:
- lib/aarch64.rb
Instance Method Summary collapse
- #name ⇒ Object
- #opc ⇒ Object
- #opc2 ⇒ Object
- #opc3 ⇒ Object
- #sf ⇒ Object
- #size ⇒ Object
- #sizeb ⇒ Object
- #sz ⇒ Object
- #x? ⇒ Boolean
- #zr ⇒ Object
Methods inherited from Register
Instance Method Details
#name ⇒ Object
39 |
# File 'lib/aarch64.rb', line 39 def name; "W#{to_i}"; end |
#opc ⇒ Object
36 |
# File 'lib/aarch64.rb', line 36 def opc; 0b11; end |
#opc2 ⇒ Object
37 |
# File 'lib/aarch64.rb', line 37 def opc2; 0b10; end |
#opc3 ⇒ Object
38 |
# File 'lib/aarch64.rb', line 38 def opc3; 0b00; end |
#sf ⇒ Object
33 |
# File 'lib/aarch64.rb', line 33 def sf; 0; end |
#size ⇒ Object
32 |
# File 'lib/aarch64.rb', line 32 def size; 32; end |
#sizeb ⇒ Object
34 |
# File 'lib/aarch64.rb', line 34 def sizeb; 0b10; end |
#sz ⇒ Object
35 |
# File 'lib/aarch64.rb', line 35 def sz; 0b0; end |
#x? ⇒ Boolean
30 |
# File 'lib/aarch64.rb', line 30 def x?; false; end |
#zr ⇒ Object
31 |
# File 'lib/aarch64.rb', line 31 def zr; WZR; end |