Microprocessor Simulation and Program Assembling Using Spreadsheets

In this paper, a method for simulating micro processor systems using modern spreadsheet programs is presented. The microprocessor architecture is depicted in one sheet and used to simulate the result of a step-by-step program execution. This simulation allows the user to write a program on a separate sheet from an instruction set available on two separate sheets. This program will then be assembled using the instruction information sheets and executed on the microprocessor architecture sheet. Additional sheets are also accessible for listing memory contents and input/output ports. This simula tion has been illustratively applied to the Z80 microprocessor.