s908ab32ag0cfue Freescale Semiconductor, Inc, s908ab32ag0cfue Datasheet - Page 128

no-image

s908ab32ag0cfue

Manufacturer Part Number
s908ab32ag0cfue
Description
M68hc08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
s908ab32ag0cfueR
Manufacturer:
FREESCALE
Quantity:
20 000
System Integration Module (SIM)
8.8.2 SIM Reset Status Register
Technical Data
128
;
;
;
;
This code works if the H register has been pushed onto the stack in the break
service routine software. This code should be executed at the end of the
break service routine software.
HIBYTE
LOBYTE
DOLO
RETURN
EQU
EQU
If not SBSW, do RTI
BRCLR
TST
BNE
DEC
DEC
PULH
RTI
Address:
This register contains six flags that show the source of the last reset. The
SIM reset status register can be cleared by reading it. A power-on reset
sets the POR bit and clears all other bits in the register.
POR — Power-On Reset Bit
Reset:
Read:
Write:
5
6
SBSW,SBSR, RETURN ;
LOBYTE,SP
DOLO
HIBYTE,SP
LOBYTE,SP
1 = Last reset caused by POR circuit
0 = Read of SRSR
$FE01
POR
Bit 7
1
Figure 8-18. SIM Reset Status Register (SRSR)
System Integration Module (SIM)
= Unimplemented
PIN
6
0
;
; If RETURNLO is not 0,
; then just decrement low byte.
; Else deal with high byte, too.
; Point to STOP/WAIT opcode.
; Restore H register.
COP
See if STOP or WAIT mode was exited by
break.
5
0
ILOP
4
0
ILAD
3
0
MC68HC908AB32
Freescale Semiconductor
2
0
0
LVI
1
0
Rev. 1.1
Bit 0
0
0

Related parts for s908ab32ag0cfue