2 memory simulation, Memory simulation – FUJITSU CM71-00329-7E User Manual

Page 47

Advertising
background image

37

CHAPTER2 Dependence Functions

2.1.2

Memory Simulation

This section describes the memory simulation executed.

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.

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.

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)

Advertising