you are viewing a single comment's thread.

view the rest of the comments →

[–]suzew[S] 1 insightful - 2 fun1 insightful - 1 fun2 insightful - 2 fun -  (3 children)

Assignment: W9

Use different one branching condition using an assembly language, and write its equivalent in a high level language.

Each student use one condition that is different than the other. (Don't write the same example as your friend) - Just to remind you we have:

single selection (if condition)
dual selection (if condition- else)
multiple selection (if condition1 - else if condition2....else)
switch statement

You can use loops as well:
pretesting loop (for, while)-
for loop is a little different in Python, than it is in C++ or Java, so just think about a while loop
post-testing loop (do-while) -if you have Python background only and need help understanding this loop- please ask

If you run out of options -after covering all the list above👆-, share a video with an example showing you a high level language and its equivalent in the MASM assembly language.

One post will be enough to get the full credit.

[–]suzew[S] 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 1 fun -  (2 children)

i don't understand REEEEEEEEE

[–]AXXA👁⃤웃 2 insightful - 2 fun2 insightful - 1 fun3 insightful - 2 fun -  (1 child)

He's just asking you to write code with an if statement in both high level and low level. Extra credit for if else, switch, and loop testing.

[–]suzew[S] 2 insightful - 3 fun2 insightful - 2 fun3 insightful - 3 fun -  (0 children)

I did it.