Execute Brain****: Difference between revisions

→‎{{header|8086 Assembly}}: Upload the version with the Ctrl-C bug fixed
(Add 8086 assembly)
(→‎{{header|8086 Assembly}}: Upload the version with the Ctrl-C bug fixed)
Line 826:
jmp error ; give an error message.
;;; Stop on Ctrl+C
mem_ok: mov ax,flags<<8|BRK
mov dl,1
int 21h
;;; See if a command line argument was given
mem_ok: mov bl,[CMDLEN] ; Get length of argument
test bl,bl ; See if it's zero
jnz arg_ok
2,095

edits