diff options
author | Kartik Agaram <vc@akkartik.com> | 2018-09-21 16:55:46 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2018-09-21 16:56:37 -0700 |
commit | 9372c16c00f032fe72e921723c2dc9ab88486ff6 (patch) | |
tree | 74f1f3074675e90a2f53f2799c55bd5a9d9618af /subx/examples/ex10.subx | |
parent | 9ce8fd1cc1770d7e41d214421237ecea7b1efb4e (diff) | |
download | mu-9372c16c00f032fe72e921723c2dc9ab88486ff6.tar.gz |
4581
Even more cuddling. We want to keep lines short where the opcode and operands are self-explanatory. If there are any implicit registers, etc., we'll continue to do the table layout. The first two columns look messy now; let's see how this goes. Maybe I'll give up on the tabular layout altogether, just string args with a single space.
Diffstat (limited to 'subx/examples/ex10.subx')
-rw-r--r-- | subx/examples/ex10.subx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subx/examples/ex10.subx b/subx/examples/ex10.subx index 1b0b0a29..edcda506 100644 --- a/subx/examples/ex10.subx +++ b/subx/examples/ex10.subx @@ -31,7 +31,7 @@ # exit(EAX) 89/copy 3/mod/direct 3/rm32/EBX . . . 0/r32/EAX . . # copy EAX to EBX b8/copy . . . . . . . 1/imm32 # copy 1 to EAX - cd/syscall . . . . . . . 0x80/imm8 # int 80h + cd/syscall 0x80/imm8 # compare two null-terminated ascii strings # reason for the name: the only place we should have null-terminated ascii strings is from commandline args |