diff options
author | Kartik Agaram <vc@akkartik.com> | 2018-07-01 11:25:39 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2018-07-01 11:25:39 -0700 |
commit | 8ee9b7b7bdaf667b8b2bcc833307b48078945e09 (patch) | |
tree | 6dd4b28c84fabf70b5dc89ebd86fa0d33a5e294f /subx | |
parent | 863a42d3607f6e5bf48d33b5e7993ba183e79898 (diff) | |
download | mu-8ee9b7b7bdaf667b8b2bcc833307b48078945e09.tar.gz |
4304
Diffstat (limited to 'subx')
-rw-r--r-- | subx/ex1.1.subx | 6 | ||||
-rw-r--r-- | subx/ex1.2.subx | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/subx/ex1.1.subx b/subx/ex1.1.subx index 9e20d443..2741213b 100644 --- a/subx/ex1.1.subx +++ b/subx/ex1.1.subx @@ -7,8 +7,8 @@ # opcode ModR/M SIB displacement immediate # instruction mod, reg, Reg/Mem bits scale, index, base # 1-3 bytes 0/1 byte 0/1 byte 0/1/2/4 bytes 0/1/2/4 bytes - bb 2a 00 00 00 # copy 0x2a (42) to EBX - 05 01 00 00 00 # copy 1 to EAX - cd 80 # int 80h + bb 2a 00 00 00 # copy 0x2a (42) to EBX + 05 01 00 00 00 # copy 1 to EAX + cd 80 # int 80h # vim:ft=subx diff --git a/subx/ex1.2.subx b/subx/ex1.2.subx index c12c1902..7f3346f9 100644 --- a/subx/ex1.2.subx +++ b/subx/ex1.2.subx @@ -7,8 +7,8 @@ # opcode ModR/M SIB displacement immediate # instruction mod, reg, Reg/Mem bits scale, index, base # 1-3 bytes 0/1 byte 0/1 byte 0/1/2/4 bytes 0/1/2/4 bytes - bb 42/imm32 - 05 1/imm32 - cd 128/imm8 + bb 42/imm32 # copy 0x2a (42) to EBX + 05 1/imm32 # copy 1 to EAX + cd 128/imm8 # int 80h # vim:ft=subx |