/usr/share/doc/sdcc-ucsim/cpu.html is in sdcc-ucsim 3.5.0+dfsg-2build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 | <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>
|