Emu8086 documentation - Microprocessor & Microcontroller

MdMonzurAlam 252 views 21 slides Jun 28, 2021
Slide 1
Slide 1 of 21
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21

About This Presentation

Emu8086 is a Microprocessor Emulator with an integrated 8086 Assembler. It compiles the source code and executes it on the emulator step by step.


Slide Content

EMU8086 Documentation

Team Member Monzur Alam - 191015036 Suzan Mia - 191015056 Rubel Sonar - 191015170 Mir Sultan - 191015191 Mahfizar Rahman - 191015193

Overview In this documentation, we will try to cover EMU8086 All kinds of topics. Here we discuss zero levels to an advanced level about EMU8086.

What is Emulator Emulator is a hardware or software program that emulates another computer function.

EMU8086 EMU8086 is a 8086 Microprocessor emulator and disassembler.

Register Processor function is mostly used to involve data processing. All data store in memory and access. However, reading data and storing data in memory makes the processor slower. Speed up processor operations, some internal memory storage, Which are called register.

Processor Register There are 10 32-bit register & 6 16bit register. The register is divided into 3 categories. They are - General Register Control Register Segment Register

Data Register 32-bit registers can be used as four 16-bit data registers: AX, BX, CX, and DX. AX is the primary accumulator; BX is known as the base register CX is known as the count register DX is known as the data register

MOV instruction MOV instruction is an important instruction in EMU8086. MOV instructions use to data moving one register to another register.

INT 21H Stop running programs and show the output

Comments In this EMU8086 Comments is an important topic for memorizing notes into codes.

Variable Variable is like a container where we put some things. Variable use as a Register. Values can be replaced in Variable. We can store value in a variable. Our Emulator Emu8086 support two types of variable. They are Byte and Word. Syntax Variablename DB value Variablename DW value

Constant Constant use to define variables but it can not change their values. Syntax name EQU < any expression >

Conditions There are two types of conditional instructions. Conditional Jumps Unconditional jumps

Flow Control Controlling the program flow is a very important thing, this is where your program can make decisions according to certain conditions.

Loops loops are basically the same jumps, it is possible to code loops without using the loop instruction, by just using conditional jumps and compare. CX register count steps.

Loops MOV CX,10 MOV AX,1 TEST: CALL PRINT_NUM INC AX PRINT “ ” LOOP TEST RET

Procedure is a part of code that can be called from your program in order to make some specific task. Procedures make the program more structural and easier to understand. Generally, procedure returns to the same point from where it was called. Procedures

Syntax: name PROC ; here all code ; of procedure RET name ENDP Procedures

Macros are just like procedures, but not really. Macros look like procedures, but they exist only until your code is compiled, after compilation all macros are replaced with real instructions. If you declared a macro and never used it in your code, the compiler will simply ignore it. Macros

Thank You