CHAPTER 8: DEBUGGER

bs (sequential break)

Function

This command sets and clears sequential break and displays the sequential break condition that have been set.

This command allows you to set break addresses in up to three locations and the number of times you want the program to be executed at the last of the three addresses. While passing through all addresses sequentially in the order they are set, the program executes the last-specified address a specified number of times, then breaks after fetching the instruction from that address again.

 

Format

 

 

 

 

 

(1) >bs <pass> <address1> [<address2> [<address3>]]

(direct input mode)

(2) >bs

 

 

 

(guidance mode)

 

Sequential break set status

 

 

 

 

1. set 2. clear

…?

<1 2>

(Command is completed when "2" is selected.)

 

Number of sequential address (1–3) ? : <1 2 3>

 

 

Set address ? Old address : <address1>

 

 

 

Set address ? Old address : <address2>

 

 

 

Set address ? Old address : <address3>

 

 

 

Pass count ? Old count: <pass>

 

 

>

 

 

 

 

 

 

<pass>:

Pass count; decimal

 

 

 

<address1–3>: Program execution address; hexadecimal or symbol (IEEE-695 format only)

 

Condition:

0 address1–3 last program memory address, 0 pass 4095

Examples

 

 

 

 

 

Format (1)

 

 

 

 

>bs 3 116 120

 

 

 

 

... Sets two sequential addresses and the pass count. In this case, a break will occur when the

 

CPU fetches the instruction at address 0x0120 after the instruction at address 0x0116 is executed

 

and the instruction at address 0x0120 is executed three times.

Format (2)

 

 

 

 

 

>bs

 

 

 

 

 

1: -

2: -

3: -

pass: -

 

1. set

2.

clear ...? 1

 

... "1. set" is selected.

Number of seqential address (1-3) ? : 2

... Number of addresses is input.

Set address

? : 116

 

... 1st address is input.

Set address

? : 120

 

... 2nd address is input.

Pass count

? : 3

 

 

... Pass count is input.

>bs

 

 

 

 

 

1: 0116

2:

0120

3: -

pass:3

 

1. set

2.

clear ...? 2

 

... "2. clear" is selected.

>bs

 

 

 

 

 

1: -

2: -

3: -

pass: -

 

1. set

2.

clear ...?

 

...Terminated by [Enter] key.

>

If you press [Enter] in the middle of a guidance, the command is canceled.

S5U1C63000A MANUAL

EPSON

193

(S1C63 FAMILY ASSEMBLER PACKAGE)