Question
Perform and Execute the following program on MDA-8086 kit with at least three different sequences which should include Move, addition, subtraction, increment and decrement etc.
Perform and Execute the following program on MDA-8086 kit with at least three different sequences which should include Move, addition, subtraction, increment and decrement etc. takes place with instructions, MOV, ADD, ADC, SUB, SBB, INC, DEC, PUSH, POP.
Program: ORG 1000H MOV AX,55ABH ADD AX,4789H ADC AX,6545H ADD AL,88H ADC AH,33H ; SUB AX,3567H SBB AX,8000H SUB AL,45H SBB AH,78H ; MOV AL,OFFH INC AL DEC AL ; MOV AL,OFOH MOV BL,11H ; MOV AX,OFOOOH MOV BX,1234H; MOV AX,OOFOH MOV BL,10H ; MOV DX,1H MOV AX,2H MOV BX,3H INT BX ; MOV AX, 2000H MOV BX, 4000H ; MOV DS, AX MOV SI, 100H PUSH AX ; MOV DI, 120H ADD DI, 130H MOV CX, 10H POP BX ; DEC CX SUB CX, 15H INC SI ; CODE ENDS END
Note: solve it by using machine codes
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started