hi i've some assembler code using "nop" code. but i couldn't understand what nop for. this the code:
-a100
1384:0100 mov ah,02
1384:0102 mov cx,000a
1384:0105 mov dl,41
1384:0107 mov bx,cx
1384:0109 int 21
1384:010B dec bx
1384:010C inc dl
1384:010E mov cx,0003
1384:0111 int 21
1384:0113 loop 111
1384:0115 mov cx,bx
1384:0117 nop
1384:0118 mov bl,dl
1384:011A mov dl,2d
1384:011C int 21
1384:011E mov dl,bl
1384:0120 inc dl
1384:0122 loop 107
1384:0124 int 20
1384:0126
-g
ABBB-CDDD-EFFF-GHHH-IJJJ-
Program terminated normally
n then i wanna modification that output become :
A-BBB-C-DDD-E-FFF-G-HHH-I-JJJ-
but i couldn't find the solve, could u help me. actulally what is nop for?
thx ion