CHAPTER 8: DEBUGGER
202
EPSON
S5U1C63000A MANUAL
(S1C63 FAMILY ASSEMBLER PACKAGE)
sc
(source code)
Function
This command displays the contents of the program source file in the [Source] window. The display
contents are as follows:
• Line number in the source file
• Source code
Format
>sc [<address>]
↵
(direct input mode)
<address>: Start address for display; hexadecimal or symbol (IEEE-695 format only)
Condition: 0
≤
address
≤
last program memory address
Display
(1) When [Source] window is opened
If <address> is not specified, display in the [Source] window is changed to the source display mode.
If <address> is specified, display in the [Source] window is changed to the source display mode. At
the same time, code is displayed beginning with <address>.
(2) When [Source] window is closed
The 16 lines of source code are displayed in the [Command] window. The system then waits for a
command input.
If <address> is not specified, this display begins with the current PC (displayed in the [Register]
window). If <address> is specified, the display begins with <address>.
>sc
↵
ldb
%ba,SP1_INIT_ADDR
ldb
%sp1,%ba
; set SP1
ldb
%ba,SP2_INIT_ADDR
ldb
%sp2,%ba
; set SP2
calr INIT_RAM_BLK1
; initialize RAM block 1
LOOP:
ldb
%ext,INC_RAM_BLK1@rh
calr INC_RAM_BLK1@rl
; increment RAM block 1
ldb
%ext,LOOP@rh
jr
LOOP@rl
; infinity loop
>
Содержание S5U1C63000A
Страница 1: ...MF910 06 CMOS 4 BIT SINGLE CHIP MICROCOMPUTER S1C63 Family Assembler Package S5U1C63000A Manual ...
Страница 4: ......
Страница 14: ......
Страница 304: ......
Страница 305: ...S1C63 Family Assembler Package Quick Reference ...