**********Summary of gSim51 commands:***********

Please note that this help is a copy of the online help available with Sim51 at run time. The same help file has been used because the online help is comprehensible enough to be used also as offline help. The tutorial further explains all the commands in detail. New users are advised to go through it before getting the maximum out of Sim51.
Happy Simulation!!  

		Seemanta Dutta ;)

COMMAND		                 FUNCTION

i   		input hex code directly in Console Mode. The starting
		address for input is taken from the user interactively at
		the ':'	prompt.

t[addr]		trace code. It shows the just executed instruction, the
		corresponding clock cycles and also the next instruction.

g[n] 	        execute code, can optionally include n, the number of
		instructions to execute imediately after the 'g', eg. g5


r	        show all registers as well as the next instruction.

u[addr]         unassemble 16 instruactions from current position.
		or given address 'addr'.

r[reg]          show and edit a particular register denoted by reg.
		Almost all registers are identified by their real names
		except the following. Below is a list of such registers and
		their identifiers:
					tc  - TCON
					tm  - TMOD
					sb  - SBUF
					pcn - PCON
					dp  - DPTR
		For example, to edit the PSW and PCON registers, the
		approprite commands would be 'rpsw' and 'rpcn' respectively.


dd		dumps the data (RAM) area on the screen completely.


cd[addr]	dumps code area starting from the given address 'addr',
		or from the current value of dump counter by default when
		no 'addr' is specified.


em		edit any data in the data area (RAM) interactively.



b[addr]        set a breakpoint at an address specified by 'addr' or at
	       the current address contained in Program Counter by default,
	       when no 'addr' parameter is specified.


lb             lists all breakpoints,along with their asscociated numerical
	       ids. The numerical ids can be later used to remove any
	       desired breakpoints.


rb	       remove a breakpoint. This is done interactively after taking
	       the breakpoint id from the user.



p  	       proceed or step over an instruction, eg. over function calls
	       or looping code.


v	       vector to interrupt. The interrupt is taken from the user
	       interactively and execution jumps to the corresponding
	       isr address.


cls 	       clear the screen.


?  	       display this online documantation.

q 	       quit sim51 and return to DOS.

