AQA New Specification - Microcontroller Simulator - Electronics Tutorials

The Simulator

This microcontroller simulator is based on the AQA Electronics A Level specification.

It was last updated on 18th Feb 2010 with the following fixes ...

  • JMP, JPZ, JPC CALL and RET are now timed correctly.
  • The behaviour of TMR and PRE have been corrected.
    TMR now counts down to zero.
    When TMR reaches zero the timer flag (T) is set and stays set until a new value is assigned to TMR.
  • MOVRW SR is now a valid command making it easier to test the timer flag (T).

Getting Started

Read this DOC or DOCX or PDF then work through the tutorial links on the left.

Save Your Programs

Web-based tools do not have access to the local computer's file system (for security and safety reasons). So to save a program, select the code and copy it (CTRL+C) or mouse right click and choose copy. Then paste the code into a program such as Notepad. Then save the file. Reverse this process to run a saved program.

Caution

PinoutSome processor details are not specified by AQA so design assumptions had to be made. The processor described in exam questions might differ in some details. For example Pre, Tmr, Porta, b and c and Trisa, b and c are all memory mapped in the simulator. These registers, specified by AQA, might not be memory mapped in exam questions. The processor details could differ in other areas too such as this pinout which is a work of pure imagination.


Tutorial Tasks

There are ten (more to come perhaps) examples and tasks. Use the navigation links on the left to get to these.

reviseOmatic

There are over 60 test/revision questions on assembly code programming and the simulated peripheral devices.
Look for questions on this topic - 23 A2 Assembly Code Programming.
There are over 800 questions covering the AS and A2 specification. Anyone can register to use reviseOmatic.

Topics:

01-nop-jmp   02-LEDs   03-Heater   03-Tlight   04-SevSeg   05-Delay   06-H-Bridge   07-Interrupts   08-Gray   09-Stepper   doc   hex-num   index  

Flash:

sim  

PDF:

Microcontroller Simulator  

DOC:

Microcontroller Simulator   Microcontroller Simulator.   Microcontroller with Harvard Architecture  

Images:

architecture   assem-H-Bridge   assem-Heater-FC   assem-Heater   assem-Stepper   assem-TLIGHT-grid   Gray   pinout   sim-leds   sim-sev-seg-design   sim-sev-seg   sim-traffic  

 

Privacy Policy, © Copyright, Contact Information and Disclaimers

Site highly rated by Schoolzone.co.uk

Valid XHTML 1.0 Transitional

Valid CSS!