Debracom
Newbie level 5
68hc11 and pseudovector.
We made a test-board with the 68HC, some leds, LCD display, potentiometers, etc...
For the interrupts we use pseudo vectors.
I use the instruction LDAA #$7E. The value gets written to ITOC3. After that, the interruptrouting gets written to ITOC3+1.
This is what I found out :
*A psuedo-vector can be used to place your interrupt routine wherever you want in the ram
*All pseudo-vector are programmed in the internal eeprom with addresses in the ram. *the interrupts vectors cannot be changed, the values in the ram in contrary can.
*Every vector holds a jump function (0x7E) that can take up to three bytes of the ram : 1 byte for the function jump (0x7E) and 2 bytes which point to a address in the ram.
so now my question is : is it possible to call a interrupt with itoc3 or itoc3+1 WITHOUT using a pseudo-vector.
We made a test-board with the 68HC, some leds, LCD display, potentiometers, etc...
For the interrupts we use pseudo vectors.
I use the instruction LDAA #$7E. The value gets written to ITOC3. After that, the interruptrouting gets written to ITOC3+1.
This is what I found out :
*A psuedo-vector can be used to place your interrupt routine wherever you want in the ram
*All pseudo-vector are programmed in the internal eeprom with addresses in the ram. *the interrupts vectors cannot be changed, the values in the ram in contrary can.
*Every vector holds a jump function (0x7E) that can take up to three bytes of the ram : 1 byte for the function jump (0x7E) and 2 bytes which point to a address in the ram.
so now my question is : is it possible to call a interrupt with itoc3 or itoc3+1 WITHOUT using a pseudo-vector.