assembly language programming

 debug
-a

100         mov dl, 45 ( which dl=E )
102         mov ah,2 ( which 2 is a function to save value from dl)
104        int 21 ( function interupt that will print value on screen)
106        sub dl,1 ( sub value of E 1 value )
109        cmp dl,0 ( to compare dl =0 )
10C       jne 104 ( if dl not equal 0, will jump to offset 104 )

-r to show all status before คำสัง
-t to run 1 by 1 คำสัง

0 comments em “assembly language programming”

Post a Comment

 

Personal I.T blogs Copyright © 2011 -- Template created by O Pregador -- Powered by Blogger