You are on page 1of 8

8085 SIMULATOR

RAKESH KASHYAP
SHRUTHI B.N
PASS-1

Assign addresses to all the statements

Save the addresses assigned to all labels to be


used in Pass-2

Perform some processing of assembler directives.

Defines the symbols in the symbol table(generate


the symbol table)
PASS-2

Assemble the instructions.

Generate data values defined by BYTE, WORD


etc.

Perform the processing of the assembler


directives not done during pass-1.

Write the object program and assembler listing. 


Data Structures

OPTAB

 The opcode field contains a mnemonic. Opcode stands for


operation code, ie, a machine code instruction. The opcode
may also require additional information (operands).
SYMTAB

 helps in relocation since it stores the relative addresses of


the label where the control as to transferred.
INTERMEDIATE TABLE

 n 8085 microprocessor the literals are not used. But we have


implemented it in our project. Here the literal name, address
and the value are stored in this table.
Assumptions

; to indicate the comment line

Should be saved in .asm format


THANK YOU . . .

You might also like