Assembly code: Fixed a bug where the compiler would print a null byte which was masked by the verilog simulators
This commit is contained in:
parent
2c8e8a9d9c
commit
0ca1da81b1
@ -31,10 +31,12 @@ mov bx,#compiling
|
||||
mov ah,#0x02
|
||||
print2:
|
||||
mov dl,[bx]
|
||||
cmp dl,#0
|
||||
je exit
|
||||
int #0x21
|
||||
inc bx
|
||||
cmp dl,#0
|
||||
jne print2
|
||||
jmp print2
|
||||
exit:
|
||||
|
||||
MOV SI,#prog
|
||||
MOV DI,#output_program
|
||||
|
Loading…
Reference in New Issue
Block a user