3


! , . , , , ! . , . "HELLO,WORLD!". , . . "" , . , AND AL,21h ("$!") CMP AL,21h ("<!"). . , 21h - . , , AND r/m,r16. ,   , , , , AND [SI],SP (21h 24h "!$") . , SI , , .

, "$" , MS-DOS . , .

hex- "HELLO,WORLD!$" :

00000000: 48 dec ax ; ax

00000001: 45 inc bp ; bp

00000002: 4C dec sp ; sp

00000003: 4C dec sp ; sp

00000004: 4F dec di ; di

00000005: 2C

57 sub al,057 ; al

57h

00000007: 4F dec di ; di

00000008: 52 push dx ; dx

00000009: 4C dec sp ; sp

0000000A: 44 inc sp ; sp

0000000B: 2124 and [si],sp ; *si = sp