Technical information
Micro-KIM Users Manual
©
!'
'"
'" '"
'"
This chapter will deal with using the Micro-KIM with the 6 digit display and the keypad onboard. Check
chapter 7 for how to use the Micro-KIM with the serial port and Hyper terminal.
The first thing to do is make sure JP1 jumper is connected so that the onboard memory decoding is enabled.
Make sure JP2 is off to use the onboard keypad and 6 digit display. Also be sure the Single-step switch SST is
not in the ON position. Power up the Micro-KIM, and then press the RS button on the keypad. The display
should then come up with an address on the 4 displays on the left and a value to that address in the 2 displays on
the right.
At this point, the Micro-KIM is ready to take input. Here’s how the keypad and display work:
There are two values on the display, the address and the data. There are two keys on the keypad to indicate
which one you want to work with AD and DA. To get to a memory location, press the AD button. Let’s say we
want to look at $200 in memory. Now, that you have pressed the AD button to tell the Micro-KIM you want to
look at an address, type in 0200 into the keypad. The value 0200 will show in four digits on the left and the 2
digits on the right show the value of location $200.
To change the value, all you have to do is tell the Micro-KIM that you want to go to data mode by pressing the
DA button. Now enter in the new value for the location. That’s it; you’ve just changed the location 0200 to your
new value. Press the + key and the memory increments to the next location, so the display will now show 0201
and the value of $201 will be in the 2 right digits.
At this point, you are still in the data mode so you can enter new data if you wish or move on to the next
location. To go back to the address mode, press AD button and enter in the value of the address you wish to
jump to.
The first thing that you should always do when you first power up your Micro-KIM is set the vector locations in
memory. From the keypad type:
AD then type in 17FA press the DA button and type in 00.
Press the + key and the address will change to 17FB. You are still set to program the data so type in 1C.
Press the + key again and the address will change to 17FC, press + again until the display shows 17FE then
press 00. If you went past the address you can press AD and type in 17FE then press DA to change the data.
Press the + one last time and the display should show 17FF. Press DA and enter the value 1C.
This sets the reset and break addresses in the Micro-KIM for proper single step operation.
At this point you are ready to enter a program into memory. What better program as a “HELLO WORLD”
program than a simple clock program? It turns the Micro-KIM into a functional clock. It is rather long to type
by hand but it is a good example of how to enter a program.