mirror of
https://github.com/zoriya/dasm.git
synced 2026-05-31 09:44:51 +00:00
Add sub instruction
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
|
||||
sub hello+1, #0x20
|
||||
|
||||
|
||||
|
||||
|
||||
mov bx, #message
|
||||
int16_t 0x20
|
||||
mov bx, #exit
|
||||
int16_t 0x20
|
||||
|
||||
.sect .data
|
||||
message: .data2 1, 4, 1, 6, 0, hello, 0, 0
|
||||
exit: .data2 1, 1, 0, 0, 0, 0, 0, 0
|
||||
hello: .ascii "hello\n"
|
||||
Executable
BIN
Binary file not shown.
Reference in New Issue
Block a user