Lab Assignment 2
Lab Assignment 2
and
Literature Background:
Definition and explanation of some technical terms that we use in our analysis.
Commands in Code:
______________________________________________________________________________
mov: Its mean “move” actually it copies data from one location to another or in special
registers.
______________________________________________________________________________
______________________________________________________________________________
jnc: If is a jump from the code to the label, if carry not occurs
jnc Syntax: jnc label ;label is any alphabet but not a keyword
______________________________________________________________________________
emu8086: It is an emulator for Intel 8086 microprocessor which works on different operating
systems and it perfectly behaves (operations, instructions, commands, process etc.) like Intel
8086.
Procedure:
Open emu8066
Write an assembly language code for the above problem statement’s
Click on emulate and check results
Now click on converter and verify results.
Task 1
Result:
Task 2:
Result: