8085 Microprocessor Simulator
By Aman Bhargava Creations (ABCreations)
Version 1.2.2
This version is fully
functional, although there are many more features that I plan to add.
There is no Help yet, but I
guess it wouldn't be very hard to understand the simulator.
Installation:
Since there is no setup.exe
packaged, you need to do the little setup yourself -
You need to copy the following
files to your windows\system directory:
1. OQBTTN.OCX
2. RICHTX32.OCX
3. MSFLXGRD.OCX
4. COMDLG32.OCX and COMCTL32.OCX
too if you have older versions or don’t have them at all or if you get an
"UNEXPECTED ERROR" message"
You also need to have the VB6 runtime DLLs. You might already have this
DLL. If not, it is easily available from Microsoft's web site
Next, you may also want to
associate .85 files with Sim85.exe. I assume that this wouldn't be a very
difficult task.
In case of any difficulties in
using my simulator, please ask for my assistance via aman.bhargava@usa.net
Known issues:
1. At 640x480 screen resolution, the window
may be clipped. Switch to 800x600 or higher.
General usage instructions:
·
You
can type and edit your assembly program in the edit window provided.
·
All
the 8085 mnemonics are recognized by the compiler, however some of them may not
be supported (you will get an appropriate runtime warning message)
·
A
HLT instruction is required at the end of the program. In case the
program control reaches an instruction not generated by the compiler, the
program is halted with an error message i.e. without an HLT, the CPU will try
to run an instruction that may not be a part of the program, and hence the error.
·
Comments
begin with a semicolon ( ; ) and may be on an individual line or at the end of
any line
·
To
introduce Breakpoints in your program type
;BREAK
or
;#
on a new line
·
You
can use the STEP mode to debug your programs but while the program is
running in step mode, you cannot edit it. In order to do so, first HALT
the program.
·
Directive supported:
·
;ORG
addr -----
compiles the (following) code into specified memory address "addr"
·
Line labels must be at least 3 letters long and must not resemble a hex no.
·
Hexadecimal numbers must end with H if they contain A-F
E.g. Valid: 1221, 1221H, ABCDH
E.g. Invalid: ABCD, 122A, A122
·
All
numbers are assumed to be hexadecimal
·
All
registers are viewable and editable. The flags register is
represented both as the bit wise flag split up and the hex value. The PC
register is not editable, however before execution of the program, it assumes
the address of the first compiled instruction.
·
The
RAM of the 8085 is from address 0000 to FFFF.
·
You
can view and modify the contents of any portion of the RAM, by defining those
columns in the "System RAM" section. Each column corresponds to a
portion of the RAM, and multiple columns can be made by clicking on the
"Cols" button.
·
At
present, there is no way provided to save the contents of the RAM and the
registers.
·
Files
are saved with a .85 extension.
Revision history:
Version 1.2.2: Fixed DAD
instruction (carry flag)
Registration:
Sim8085 is freeware, but you
still need to register it. I require a list of people who have been using my
program, and hence the registration. However, registration is very easy
(described below). After you do that, I can give you the registration code in
any way you like, including email.
If you are using this
simulator, send me an email with your name, address and your comments. I would
send you back an unlocking code that will register the 8085 simulator in your
name. As I'm not charging any money, this shouldn't be a very big fee. Thanks!
I don't know if I have missed
out any essential info here, but if I have please let me know.
Thanks for using my program,
please encourage me to develop it further,
Aman Bhargava (CEO,
ABCreations)
aman.bhargava@usa.net
Visit my website for the latest
updates
http://members.xoom.com/amanb