. IDA - 23


MySeg:0115 db 0Dh ;

MySeg:0116 db 0Ah ;

MySeg:0117 db 24h ; $

MySeg:0117 MySeg ends

b) -

from:seg000:013B; to:MySeg:0x100, , MySeg:0108 <A>. :

MySeg:0100 loc_1000_100: ; CODE XREF: seg000:013Bu

MySeg:0100 mov ah, 9

MySeg:0102 mov dx, 108h

MySeg:0105 int 21h ; DOS - PRINT STRING

MySeg:0105 ; DS:DX -> string terminated by "$"

MySeg:0107 retn

MySeg:0107 ; ---------------------------------------------------------------------------

MySeg:0108

aHelloSailorS db 'Hello,Sailor!',0Dh,0Ah

MySeg:0108 db '$'

MySeg:0118 MySeg ends

)

, DX ( ). 108h <Ctrl-O> :

MySeg:0102 mov dx, offset aHelloSailorS ; "Hello,Sailor!\r\n$"

MySeg:0105 int 21h ; DOS - PRINT STRING

MySeg:0105 ; DS:DX -> string terminated by "$"

MySeg:0107 retn

MySeg:0107 ; ---------------------------------------------------------------------------

MySeg:0108 aHelloSailorS db 'Hello,Sailor!',0Dh,0Ah ; DATA XREF: MySeg:0102o

d)

, , , .