right I'm trying to clear some things from this example code:
DOSSEG
.MODEL SMALL
.STACK 200h
.DATAOurString DB "This is a string of characters. "
DB "Do you lack imagination? Put something interesting here!$".CODE
START:
MOV AX, SEG OurString ; Move the segment where OurString is located
MOV DS, AX ; into AX, and now into DSMOV DX, OFFSET OurString ; Offset of OurString -> DX
MOV AH, 9h ; Print string subfunction
INT 21h ; Generate interrupt 21hMOV AX, 4C00h ; Exit to DOS sufunction
INT 21h ; Generate interrupt 21h
END START
1.first of where he creates OurString there's supposed to be just one DB "somestring$" right the second one is not correct?
2. When should I call INT 21h?
3. MOV AH, 9h - why do I call 9h (print) on AH (Accumulator High) and not AS?