Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

i want u to explain every singel step in this code emu 8086 JUMPS WITH REGISTER OPERANDS jump table Faddess TAS form lookup address get

i want u to explain every singel step in this code emu 8086
image text in transcribed
image text in transcribed
JUMPS WITH REGISTER OPERANDS jump table Faddess TAS form lookup address get , TWO OF THE up to ONE, TWO OR THE get ASCIT 1 TABLET DW ONE DW TWO DW THREE ONE road key into AL MOV SI. OFFSET TABLE ADD SI, XX MOV AX, IST ME AX MOV DL,'' JMP BOT MOV DL,'2 JMP HOT MOV DL,'3' MOV AH,2 INT 21H 90t asett 2 TWO: TOP: i convert to BCD Hit key 3 double key code X O edit bookmarks assembler calculator convertor new open examples save compile emulate 01 TABLE: DW ONE 5 jump table 02 DW TWO 23 DW THREE 04 TOP: MOV AH,1 ;read key into AL 05 INT 21H 06 SUB AL,31H ;convert to BCD 07 JB TOP ;if key 3 10 MOV AH,0 ;double key code 11 ADD AX AX 12 MOV SI,OFFSET TABLE ; address TABLE 13 ADD SI,AX ;forn lookup_address 14 MOV AX,[SI;get ONE, TWO or THREE 15 JMP,AX ; junp to ONE, TWO or THREE 16 ONE MO DL,'1';get ASCII 1 17 JMP BOT 18 TWO: MOV DL,'2' get ASCII 2 19 JMP BOT 20 THREE: MOV DL,'3' iget ASCII 3 21 BOT: MOV AH,2 ;display number 22 INT 21H drag a file here

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle PL/SQL Programming Database Management Systems

Authors: Steven Feuerstein

1st Edition

978-1565921429

Students also viewed these Databases questions

Question

=+employee to take on the international assignment?

Answered: 1 week ago

Question

=+differences in home- and host-country costs of living?

Answered: 1 week ago