Computing Assembler Hmwk!
Watch
Announcements
Page 1 of 1
Skip to page:
This discussion is closed.
Report
#1
hello y'all
we've got this assembler hmwk, could ya please help me out?
heres the question:
1.Write the sequence of key assembly language instructions, which corresponds to the following block of high level language code:
If N=10
Then N<1
Else N<N+1
EndIf
(NOTE:The "<" is just an arrow pointing to the left NOT a "less than" sign)
thanks, any help much appreciated!
we've got this assembler hmwk, could ya please help me out?
heres the question:
1.Write the sequence of key assembly language instructions, which corresponds to the following block of high level language code:
If N=10
Then N<1
Else N<N+1
EndIf
(NOTE:The "<" is just an arrow pointing to the left NOT a "less than" sign)
thanks, any help much appreciated!
0
Report
#3
If N=10
Then N<1
Else N<N+1
EndIf
That looks like Visual Basic code.
mov bx,N (obviously this is not exactly)
cmp bx,10
jz IF
ELSE:
;do else
IF:
;do if
Mayber that could help you.
Regards,
Mariano.
Then N<1
Else N<N+1
EndIf
That looks like Visual Basic code.
mov bx,N (obviously this is not exactly)
cmp bx,10
jz IF
ELSE:
;do else
IF:
;do if
Mayber that could help you.
Regards,
Mariano.
0
Report
#5
You are welcome,
Nowadays I'm living and working as a C\C++ programmer in Spain.
What are you studying?
Regards,
Mariano.
Nowadays I'm living and working as a C\C++ programmer in Spain.
What are you studying?
Regards,
Mariano.
0
X
Page 1 of 1
Skip to page:
new posts
Back
to top
to top