JSIM-51 Commands

Most of the windows and parameters, which are stored in the workspace file, are using the following command line syntax. The last 10 inputs from the command line can be retrieved with the Combobox. All the commands can also be used in the stimulation file. The red parameters are 8051-specific. That means, there may be other values or commands for other processor implementations.

CommandParameterDescription
d.paddress (label)   Display program code starting from address/label.
w.r    Open the register window.
w.mview mode

l=long
s=short
b=byte
a=ASCII
address (label)/memtype
d=data
x=xdata
i=idata
c=code
p=pdata
Open a new memory window with the specified view mode. The memory type can only be specified for an address, not for a label.
w.w    Open a watch window.
w.l    Open the local window to display the local variables.
w.s    Open the stack window.
w.a    Open the analyser window.
w.t    Open the trace view window.
w.b    Open the browser window.
The window is open by default.
b.slabel   Set an active program breakpoint to the address of the label. The display is NOT updated automatically.
b.saddress (hex) access type

0x200=read
0x400=write
0x600=r/w
memory space
d=data
x=xdata
i=idata
c=code
Set an active memory access breakpoint to the specified address.
b.clabel   Delete a breakpoint (if present) at the address of the label. The display is NOT updated automatically.
t.saddress (hex)   Set a tracepoint to that absolute address. If the specified address doesn't point to the first byte of an instruction, the tracepoint isn't visible and will never be reached. Be careful! This command is intended for use by the workspace file.
t.avariable (expression)   Adds a new variable to the tracepoint.
m.address (hex)   Set a measure point to the specified address. If no address is specified, the measure point is deleted.
s. memory space
d=data
x=xdata
i=idata
c=code
start addresslast address Configure the memory as present in the specified range. If start address and last address are both zero, the whole memory space will be cleared.
s.0    Reset the processor-DLL to its default settings.
c.memory space
x=xdata
p=pdata
symbol  Set the memory space of the specified symbol to XDATA or PDATA respectively.
stmaddress (hex)   Set the stimulation point to the specified address.
stop    Stop the running program.
update    Update all watch windows.
Specific DLL Commands:   8051.dll and 80c320.dll
$... Always a command which must be executed by the processor-DLL. These are the 8051-specific commands:
$m. memory space
d=data
x=xdata
i=idata
c=code
address (hex)new value Set the selected memory cell (if present) to the specified new value. The display is not updated.
w.c    Open the terminal window.
w.i    Open the interrupt window.

 


Last revised:   W.W. Heinz,   January 22, 2018