Click to See Complete Forum and Search --> : Really need help! Urgen help with an assembelly question, please help


francewavidok
September 21st, 2008, 12:29 AM
Hi there, I can't seem to get my head around this at all. Could someone please help me? I really need help with this and i only have 24 hours to do it in. Any help would be much appreciated, thank you so much.

A B C Z
0 0 0 1
0 0 1 0
0 1 0 1
1 0 0 0
0 1 1 0
1 0 1 1
1 1 0 0
1 1 1 1

Write the assembly program which takes binary A, B, and C as inputs and outputs values
of Z (binary) as provided in the truth table and computed using equations set by f. Your
program should successfully ask for “input A:”, then read A, ask for “input B:” then read
B, ask for “input C:” then read C. Your program will then output Z value preceded by the
message “output Z:”. Your program should never halt and request for new values of A, B
and C once Z computed.

francewavidok
September 21st, 2008, 01:09 AM
this might help, some code from a past assignment:

http://pastebin.com/m438cd404