CHAPTER 8: DEBUGGER
196
EPSON
S5U1C63000A MANUAL
(S1C63 FAMILY ASSEMBLER PACKAGE)
bsp
(break stack pointer)
Function
This command allows you to specify a stack area to generate a break for illegal stack access.
A break occurs when stack operation is performed in locations other than the area specified by this
command.
Format
(1) >bsp <address1> <address2> <address3> <address4>
↵
(direct input mode)
(2) >bsp
↵
(guidance mode)
Stack area set status
SP1 start address ? : <address1>
↵
SP1 end address ? : <address2>
↵
SP2 start address ? : <address3>
↵
SP2 end address ? : <address4>
↵
>
<address1>: SP1 start address; hexadecimal or symbol (IEEE-695 format only)
<address2>: SP1 end address; hexadecimal or symbol (IEEE-695 format only)
<address3>: SP2 start address; hexadecimal or symbol (IEEE-695 format only)
<address4>: SP2 end address; hexadecimal or symbol (IEEE-695 format only)
Condition:
0
≤
address1(2)
≤
0x03ff, 0
≤
address3(4)
≤
0x00ff
Examples
Format (1)
>bsp 0 3ff 0 ff
↵
... Sets SP1 area to 0x0–0x3FF and SP2 area to 0x0–0xFF.
Format (2)
>bsp
↵
SP1 : 0000 - 03FF SP2 : 0000 - 00FF
SP1 start address ? : 0
↵
... Address is input.
SP1 end address ? : 1ff
↵
SP2 start address ? : 0
↵
SP2 end address ? : ff
↵
>bsp
↵
SP1 : 0000 - 01FF SP2 : 0000 - 00FF
SP1 start address ? :
↵
... Terminated by [Enter] key.
>
∗
If you press only [Enter] in the middle of a guidance, the command is canceled.
Notes
• The stack area that is set by this command will not affect the stack operation performed in the pro-
gram.
• Specify the SP1 address in the range of 0 to 0x3ff and the SP2 address in the range of 0 to 0xff. Entering an
address exceeding this limit will result in an error.
Error : SP1 address out of range, use 0-0x3FF
Error : SP2 address out of range, use 0-0xFF
• Specify the SP1 address in units of 4 words (start address = multiple of 4; end address = multiple of 4
+ 3).
• Due to the S1C63000 CPU's prefetch function, SP1 can access the top end of the actually used stack + 4
words. Depending on your system configuration, add 4 to the end address when you set it.
• The program stops one to two instructions after the break condition has been met.
Summary of Contents for S5U1C63000A
Page 4: ......
Page 14: ......
Page 304: ......
Page 305: ...S1C63 Family Assembler Package Quick Reference ...