Question: I need help doing this assignment. I've tried my best to start writing it in X86 Assembly Language. Please use TASM to solve this question.

 I need help doing this assignment. I've tried my best tostart writing it in X86 Assembly Language. Please use TASM to solve

I need help doing this assignment. I've tried my best to start writing it in X86 Assembly Language. Please use TASM to solve this question.

1. Translate the following procedure into X86 assembly language. procedure test; var a, b, c: integer; -- allocate a byte for each variable begin write 'a? '; read a; | write cr, If, 'b? '; read b; C:= a - (a - b); write cr, If, 'c:', c; end test; For this first programming assignment, use the DOS I/O procedures to read and write single digit numbers and character strings. EDIT - a C 203 DOSBox 0.74, Cpu speed: 3000 cycles, Frameskip O, Program: File Edit Search View Options Help UNTITLED1 db b db ? db ? aq db 'a? $' bq db cr, If, 'b? $' outmsg db cr, If, "a digac db ? db .code extrn getint: proc. putint:proc main proc F1=Help Line:13 Col:1

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!