CML12C32SLK Freescale Semiconductor, CML12C32SLK Datasheet - Page 23
![no-image](/images/manufacturer_photos/0/2/262/freescale_semiconductor_sml.jpg)
CML12C32SLK
Manufacturer Part Number
CML12C32SLK
Description
KIT STUDENT LEARNING 16BIT HCS12
Manufacturer
Freescale Semiconductor
Type
MCUr
Datasheet
1.CML12C32SLK.pdf
(28 pages)
Specifications of CML12C32SLK
Contents
*
For Use With/related Products
*
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
C M L - 1 2 C 3 2
Monitor Utility Jump Table
MON12 Interrupt Support
All interrupt services under MON12 are provided through the ram vector table, see the table
below. Each location in the table is initialized to a value of $0000 to cause the trap of an un-
scheduled interrupt. Any nonzero value will allow the interrupt to proceed to the user's service
routine that should be located at the provided address value. Interrupt service delay is plus 21
cycles over standard interrupt service.
To use vectors specified in the table, the user must insert the address of the interrupt service routine during soft-
ware initialization into the ram interrupt table. For an example, for the IRQ vector, the following is performed:
Example:
Place IRQ service routine address in the table:
This vector initialization should remain after debug when auto start will launch the user's appli-
cation. Note that the user interrupt service routines must be located in the $4000 - $7FFF ad-
dress range for correct operation. See Autostart for more details.
ADDRESS
FF10
FF13
FF16
FF19
FF1c
FF1F
FF22
FF25
FF28
FF2B
FF2E
FF31
FF34
FF37
FF3A
FF3D
FF40
FF43
FF46
FF49
FF4C
FF4F
FF52
FF55
FF58
FF5B
FF5E
FF61
FF64
FF67
IRQ Service routine label = IRQ_SRV
Ram Vector Table address is defined in table below, IRQ vector definition:
VIRQ
MOVW #IRQ_SRV,VIRQ
JMP
JMP
JMP
JMP
JMP
JMP
JMP
JMP
JMP
JMP
JMP
JMP
JMP
JMP
JMP
JMP
JMP
JMP
JMP
JMP
JMP
JMP
JMP
JMP
JMP
JMP
JMP
JMP
JMP
JMP
EQU $3EF2
MAIN
BPCLR
RPRINT
HEXBIN
BUFFARG
TERMARG
CHGBYT
CHGWORD
READBUFF
INCBUFF
DECBUFF
WSKIP
CHKABRT
UPCASE
WCHEK
DCHEK
ONSCI0
INPUT
OUTPUT
OUTLHLF
OUTRHLF
OUTA
OUT1BYT
OUT1BSP
OUT2BSP
OUTCRLF
OUTSTRG
OUTSTRG0
INCHAR
VECINIT
; define ram table vector location
warm start
clear breakpoint table
display user registers
convert ascii hex char to binary
build hex argument from buffer
read hex argument from terminal
modify memory byte at address in x
modify memory word at address in x
read character from buffer
increment buffer pointer
decrement buffer pointer
check for abort from terminal
convert to upper case
check for white space
check for delimeter
initialize i/o device
low level input routine
low level output routine
display top 4 bits as hex digit
display bottom 4 bits as hex digit
output ascii character in A
display the hex value of byte at X
out1byt followed by space
display 2 hex bytes (word) at x and a space
carriage return, line feed to terminal
display string at X (term with $04)
outstrg with no initial cr
wait for and input a char from term
initialize RAM vector table
find non-whitespace char in buffer
23
J U L Y
2 6 ,
2 0 0 4