about assembler language How do I output a space between val

about assembler language, How do I output a space between values? Is there any command like\'call ...\' to do that? Because i don\'t want to change the eax value to interrupt the compute process. Thanks

Solution

in the .data portion and use it to print a space. It should work.

SPACE MACRO
   MOV DL, \' \'
   MOV AH, 02H
   INT 21H
ENDM

add this macro to your program and just use the word SPACE to invoke it.

about assembler language, How do I output a space between values? Is there any command like\'call ...\' to do that? Because i don\'t want to change the eax valu

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site