Add sub instruction

This commit is contained in:
2023-07-07 16:14:28 +09:00
parent 8d2cd435d0
commit be7cba2f35
9 changed files with 68 additions and 22 deletions
+15
View File
@@ -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
View File
Binary file not shown.