You are on page 1of 2

8085 Microprocessor Simulator

By JUE GEORGE CHEMPARATHY Version 1.3.2


Installation: If 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 dont 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, or with a large fonts setting, 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 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 the (following) code into specified memory address "addr" ----- compiles 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/edited by clicking on the "Cols" button. At present, there is no way provided to save the contents of the RAM and the registers, but you can print them out. Files are saved with a .85 extension. Revision history: Version 1.3.2: Some fixes for the AC flag which affected the DAA instruction. Version 1.3.1: Added printing for source code as well as memory dump and registers. You can also print the compiled object code using this feature. Version 1.2.2: Fixed DAD instruction (carry flag)

Registration:
Go to the URL: http://www5.ewebcity.com/jue/8085 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, Jue George Chemparathy Edakkattu Kayattam Madakkathanam P.O, Thodupuzha. 8085@jue.com Visit my website for the latest updates http://members.xoom.com/jue

With luv, JUE

You might also like