assembly if else

assembly if else - INC eax;if ebx==3 and edx>= ecx then...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
eax++; } assembly cmp ebx,3 JNE L1 ;if not equal then jump to L1 cmp edx, ecx JL L1 ;if its not greater than or equal to then jump to L1
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: INC eax ;if ebx==3 and edx >= ecx then inc eax while(edx > 5){ edx--; } L0: cmp edx, 5 JBE L1 DEC edx JMP L0: L1 ;more code...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online