8086 Microprocessor Emulator
In old computer this 8086 Microprocessor Emulator is used but now in modern computers we also used this phenomena that is why we study this type of processors
- 8086 Microprocessor Emulator is deal with Registers it have 14 registers
- Each register contain 16 bits
8 General purpose Registers
- AX Accumulator Register
- BX Base Register
- CX Count Register
- DX Data Register
like in lower and higher value
for example:
AX AH AL
BX BH BL
CX CH CL
DX DH DL
when we change the value of the AL then the value of AX change and the AH remain constant
- SI Source index Register
- DI Destination index Register
- BP Base pointer Register
- SP Slack Pointer
4 segment Register
- CS point at the segment containing the current progress
- DS point at the segment with the variable are Defined
- Es Extra segment Register
- SS it points at the segment containg slack
2 Spacial purpose Register
- IP instruction pointer Register
- Flag Processor current slack
Instructions:
to give a value to Register
mov AX,5
it give 5 value in Register AX
to add any value in AX
add AX,3
now AX=8
for increment of one
inc AX
for decrements of one
dec AX
For simple we write a simple code
and the accumulate is
No comments:
Post a Comment