0% found this document useful (0 votes)
107 views21 pages

GNUSim8085-Manual

GNUSim8085 is a graphical simulator, assembler, and debugger for the Intel 8085 microprocessor, available on Linux and Windows. It features a keypad for inputting assembly instructions, displays register and flag contents, and supports program debugging with breakpoints and stepwise execution. The manual provides detailed instructions on using the software, including writing assembly code, assigning data in memory, and checking outputs.

Uploaded by

itsmebasic18
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
107 views21 pages

GNUSim8085-Manual

GNUSim8085 is a graphical simulator, assembler, and debugger for the Intel 8085 microprocessor, available on Linux and Windows. It features a keypad for inputting assembly instructions, displays register and flag contents, and supports program debugging with breakpoints and stepwise execution. The manual provides detailed instructions on using the software, including writing assembly code, assigning data in memory, and checking outputs.

Uploaded by

itsmebasic18
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 21

GNUSim8085

Manual
GNUSim8085

GNUSim8085 is a graphical simulator, assembler and debugger for the Intel 8085 microprocessor in Linux
and Windows. It contains a simple editor component with syntax highlighting. Also it has a keypad to
input assembly language instructions with appropriate arguments.

Below are the characteristics highlights of the simulator GNUSim8085


• A keypad to input assembly language instructions with appropriate arguments.
• Easy view of register contents. The register contents by default are set to zero
• Easy view of flag contents. The flag contents by default are set to zero
• Hexadecimal Decimal converter.
• View of stack, memory and I/O contents.
• Support for breakpoints for program debugging.
• Stepwise program execution.
• One click conversion of assembly program to op code listing.
• Printing support.
• UI translated in various languages
______________________________________________________________________________________________________

A. Default screen of GNUSIM8085


B. Familiarization of GNUSIM8085 Screen
C. Detailed information of each panel in GNUSIM8085

① Status of Register
Will display the output data.
Discussion:
 General Purpose Registers
The 8085 has six general-purpose registers to store 8-bit data; these are identified
as- B, C, D, E, H, and L. These can be combined as register pairs – BC, DE, and HL,
to perform some 16-bit operation. These registers are used to store or copy temporary
data, by using instructions, during the execution of the program.

 Program Status Word (PSW)


In a flag register five bits (D7 D6 D4 D2 D0) indicate the five status flags and
three bits D5 D3 and D1 are undefined. The combination of these 8 bits is known as
Program Status Word (PSW). The PSW and the accumulator can be used as a 16-bit unit
for stack operation.

 Program Counter (PC)


The program counter is a 16-bit special-purpose register. This is used to hold the
memory address of the next instruction which will be executed. Actually, this
register keeps track of memory locations of the instructions during execution of
program. The microprocessor uses this register to execute instructions in sequence.
For this, the microprocessor increments the content of the program counter.

 Stack Pointer (SP)


The stack pointer is a 16-bit register, which is used to point the memory location
called the stack. The stack is a sequence of memory locations in the R/W memory. The
starting of the stack is defined by loading a 16-bit address into the stack pointer.
Generally, the programmers use this register to store and retrieve the contents of
the accumulator, flags, program counter as well as general-purpose registers during
the execution of a program.

 Instruction Register (IR)


The instruction register holds the operation code (opcode) of the current instruction
of a program during an arithmetic/logical operation. The instruction is fetched from
the memory prior to execution. The decoder takes the instruction and decodes it.
After that, the decoded instruction is passed to the next stage for execution.

② Status of Flags

③ Edit/Write your assembly code


 In this area you can write or edit your assembly language.
④ Error Message
 Notify the programmer if there is an error in the program.
⑤ Values Converter
 Programmer can manually input the desired value to convert from hexadecimal to
decimal or vice versa.
⑥ I/O ports
 Programmer can manually input the desired data in I/O port.
⑦ Memory
 Programmer can manually input the desired value in memory.
How to use GNUSim8085
1. Open the GNUSIM8085 software.

2. Close the dialog box(GNUSIM8085 start with dialog).

3. Start to write the assembly language. In writing op-code you can use keypad.
Note: Start writing assembly language statement in line number 11(below star: nop)
4. After creating your assembly language program, click the assembler and then execute.

5. When it is your first time to execute the program you need to save first the ASM file. Then,
if there is no error in your program you can now proceed in assigning data in the memory.
6. There are two way to assign data in memory address.
Ex. Memory Address is 90H(144 in Decimal)
Data
① Input the memory address and data and click the update Memory.
(You can update memory in multiple times)

Memory Address
(Decimal)

Data
(Decimal)
1444
44
② Click the memory address where you want to store the data. Then, directly input the
desired data and press enter.

7. After assigning data in memory address. Check the output in Registers and Flag.

NOTE: When you change data in the program make sure to Reset/Reset all before re-executing
the program.
ASSEMBLY LANGUAGE
OP-CODES

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy