Fujitsu softune f2 mc-16 Manuel D’Utilisation

Page de 354
37
CHAPTER 2  DEPENDENCE FUNCTIONS
2.1.3
Memory Simulation
This section describes the memory simulation executed by SOFTUNE Workbench.
Memory Simulation
The simulator debugger must first secure memory space to simulate instructions because it simulates the
memory space secured in the host PC memory.
The following operation is required.
- To secure the memory area, either use the [Setup] - [Memory Map] menu, or the SET MAP command
in the Command window.
- Load the file output by the Linkage Editor (Load Module File) using either the [Debug] - [Load target
file] menu, or the LOAD/OBJECT command in the Command window.
Simulation Memory Space
Memory space access attributes can be specified byte-by-byte using the [Setup] - [Memory Map] menu. The
access attribute of unspecified memory space is Undefined using the [Setup] - [Memory Map] menu.
Memory Area Access Attributes
Access attributes for memory area can be specified as shown in Table 2.1-1. A guarded access break occurs if
access is attempted against such access attribute while executing a program.   When access is made by a
program command, such access is allowed regardless of the attribute, CODE, READ or WRITE. However,
access to memory in an undefined area causes an error.
Table 2.1-1  Types of Access Attributes
Attribute
Semantics
CODE
Instruction operation enabled
READ
Data read enabled
WRITE
Data write enabled
undefined
Attribute undefined (access prohibited)