Answer : Register R15 indicates the stack pointer that is effective at the time. There are two stack pointers, SSP and USP, of which
the effective stack pointer is referenced as R15. Which is to be used is determined by the S flag of the PS register. The
initial value is SSP. SSP is used as the stack pointer at interrupt. USP can also be used by user applications.
Downloading a program to the internal RAM on ICE and then executing the program causes unknown operations (operation different
from the disassembling of RAM). Is it impossible to use the internal RAM as a program area? (Target: MB91101)
Answer : Since the DATA bus is connected to the internal RAM (0x1000 to 0x17FF), use it as the RAM for DATA.
In area 0, the program memory is allocated. Is it no problem to access the program memory during a the setup of area 0? (Target:
MB91301)
Answer : Access is possible but make sure that the area where the program being executed exists is not out of the CS0 area. After reset,
at the first write to ACR0, the whole area specification is canceled and area 0 is set into the specified size.
It is described that the setting areas should not be overlapped, but area 0 has been set to whole by reset. Is it necessary
to first set area 0 and then set the other areas? (Target: MB91301)
Answer : At first, set area 0. Then set the other areas in the not overlapped space. In advance, it is necessary to specify the bus
width for area 0 by the mode vector (0xFFFF8).
How many bits is the bus width for reading the mode vector? (Target: MB91301)
Answer : The mode vector is 8-bit data allocated at 0xFFFF8 and accessed via 8-bit bus. Any bus width is set to the minimum bus width
that allows the memory access.
What are the stepwise division flag and stepwise trace trap flag?
Answer : The stepwise division flag is a register for storing the result during stepwise division operation, so do not write into it.
The stepwise trace trap flag is a flag to be used by the tool, so do not manipulate it.
Answer : Interlock may occur when the accessing register has been used by the immediately previous instruction. The Softune assembler
automatically performs optimization so as not to cause an interlock.