Sophie

Sophie

distrib > Mageia > 5 > x86_64 > media > nonfree-release > by-pkgid > 3989bac7e1764c2070db8e22cca8b55d > files > 54

sdcc-3.4.0-7.mga5.nonfree.x86_64.rpm

<html>
<head>
<title>Simulator for MCS51</title>
</head>

<body bgcolor="#f0f0ff">

<h1>Software simulator for MCS51</h1>

This screeshot demonstrates CPU window of the simulator. The CPU
window contains five different panes. Active pane can be changed by
pressing TAB and Shift-TAB keys. First pane contains disassembled code
of the program. Instructions found by the code analyzer appear on the
list only. Some of instructions can be highlighted in different
ways. First highlighted instruction on the list (instruction at
0x4386) is highlighted because there is a breakpoint specified at that
address. Second highlighted instruction (at 0x438A) shows a dynamic
breakpoint. Third highlighted line contains the cursor which can be
moved by pressing up and down arrow keys. Because the pane lists
analyzed instructions only, the list can be scrolled backward as well
as forward.

<p><img src="cpu.gif">

<p>Second pane which is under disass pane is a memory dump pane which
shows content of internal RAM. Activating this pane the cursor appears
in the pane and the memory content can be changed simply by entering
new value at requested location. Cursor can be moved by cursor keys.

<p>Next pane shows content of registers: accumulators, program status
word, general purpose registers, indirectly addressed memory
locations, data pointer, and stack pointer, program counter. Note that
changing content of PC can be dangerous. If you set new value to PC
and this address is not found by code analyzer as instruction,
disassembled list disappears from disass pane and an error message `PC
is at invalid address' appears. If you are sure that PC is at an
instruction (remember that code analyzer is unable to locate every
instructions of the program) you can "validate" actual address by
pressing Ctrl-F7 keys.

<p>Next pane shows values of ports. P0 and P2 is disabled if simulated
microcontroller is a 8X31 which needs P0 and P2 for multiplexed
address/data bus.

<p>Last pane is a passive pane, it can not be activated. It shows time
elapsed since last reset. First line contains number of number of
cycles (in hex) and second line the cycles that the CPU spent in
interrupt routines. Last line is calculated dependent of specified
XTAL frequency and it shows `real time' (symulated time) elapsed since
reset (in microseconds).

<p>At right side of menu bar there is an indicator which shows status
of the simulation (CPU Stopped, Symulation Running). The screenshot
shows some menus as well.

<hr>

</body>
</html>