LAB 2

previous lab | lab schedule | next lab

NOTE: For this lab you will need to remove the EPROM containing the original AIM 65 operating system and replace it with your own. Ensure that you keep this chip safe as it takes time to make additional copies. Stick it on the foam pad at the bottom right corner of your AIM 65 board.

Additional example programs can be found on the Programs page of the website.

  1. Burn a Atmel 28C64B EEPROM with stand-alone OCTAL inverter program and test all eight "logic gates".
  1. Modify program so that the first four "gates" are non-inverting. Burn on to another chip and test.

  2. Program and test the Pulse Generator program discussed in class. Output the signal only on line PB0.

  3. Add a delay to the loop to slow down the Pulse Generator as discussed in class.

  4. Develop a program to generate a short pulse every time the PA7 line transitions from low-to-high or high-to-low. (To test your program PA7 is connected to the TTL output from the function generator on your trainer.) When you load port A the N bit of the Process Status Register will be set because PA7 is the sign bit of the binary number that is loaded into the Accumulator. Use BPL (Branch if Plus -- N = 0) or BMI (Branch if Minus -- N = 1) which tests the sign bit to determine whether or not to generate the pulse. Show your program to the lab instructor.

  5. Burn the Edge Trigger program that you just developed for stand-alone use. Test it.