TOC PREV NEXT INDEX DOC LIST MASTER INDEX



Memory Simulator

This utility is available only with Rational Apex Embedded for Rational Exec.

While the Instruction Set Simulator allows you to actually execute code, the Memory Simulator is a tool designed to allow you to browse your source code and disassembly while in the debugger. Essentially, the Memory Simulator pretends to be a target to which you can download your user program(s), kernel, or TDM. After you have downloaded the code, you are able to browse the source code and disassembly as if you were using a real target. Note that while you can also browse your code using the Instruction Set Simulator, the Instruction Set Simulator is not available for all targets (notably the 68K, and i386), requires linking under its BSP model, and it is more difficult to set up.

To create a Memory Simulator using the GUI, select File > New Physical Target. Fill in a name for the target; the default is mem_sim, select the byte order of the target (big endian or little endian) then click OK. You will then need to map the target in the view you wish to use it, via the Target tab in Tools > Targets....

It is just a matter of starting the debugger on the VOX executable file that you care to browse. While you are in the debugger, you are not allowed to do anything except navigate your code and disassemble. In particular, telling the debugger to begin execution (step, go, etc.) will result in an error message.


Rational Software Corporation 
http://www.rational.com
support@rational.com
techpubs@rational.com
Copyright © 1993-2002, Rational Software Corporation. All rights reserved.
TOC PREV NEXT INDEX DOC LIST MASTER INDEX TECHNOTES APEX TIPS