Commands of s51

# Command reference of µCsim

General commands and information

- conf Configuration (changed in 0.5.0)
  - conf objects (since 0.5.0)
- help,? Help about commands (changed in 0.2.38)
- quit Quit (changed in 0.2.12)
- kill Shut down the simulator (since 0.2.12)
- exec Execute commands from file (since 0.5.0)
- expression Compute value of an expression (since 0.5.0)
- show Show different kind of information (since 0.1.3) (changed in 0.2.38, 0.5.0)
  - show copying
  - show warranty
  - show option (since 0.5.0)
  - show error (since 0.5.0)
- get Get various things (since 0.2.38)
  - get option
  - get sfr
  - get error (since 0.6)
- set Set various things (since 0.2.38)
  - set option (since 0.5.0)
  - set error (since 0.5.0)
  - set console (since 0.6)
  - set memory
  - set bit
  - set hardware (set port renamed and changed in 0.5.0)
- state State of simulator
- reset Reset
- info Information (changed in 0.5.0)
  - info breakpoints
  - info registers
  - info hardware
  - info stack (since 0.5.0)
  - info memory (since 0.5.0)
  - info variables (since 0.6)
- timer Managing timers to measure execution time and profiling
  - timer add
  - timer delete
  - timer get
  - timer start
  - timer stop
  - timer set

Memory manipulation

- file,load Load FILE into ROM
- download,dl Download (intel hex) data into ROM
- fill Fill memory region with data (since 0.2.38)
- where,Where Search for data in memory (since 0.2.38)
- memory Manage address spaces, memory chips and address decoders (since 0.5.0; changed in 0.6)
  - memory create
  - memory create chip (changed in 0.6)
  - memory create addressspace (changed in 0.6)
  - memory create addressdecoder (changed in 0.6)
  - memory create banker (since 0.6)
  - memory create bank (since 0.6)
  - memory create bander (since 0.6)
  - memory info (since 0.6)
  - memory cell (since 0.6)
- var (since 0.6)

Execution

- r,run,go Go (since 0.2.20) (changed 0.2.38)
- stop Stop (since 0.2.12)
- s,step Step (renamed from s in 0.2.38)
- n,next Next
- pc Set/get PC (since 0.1.5)

Breakpoints

- break Set fix breakpoint (changed in 0.2.38)
- tbreak Set temporary breakpoint (changed in 0.2.38)
- clear Clear fix breakpoint
- delete Delete breakpoint(s)

Dump commands

- dump Dump memory or bits (since 0.2.38)
- disassemble Disassemble
- dc Dump code in disass format
- dch Dump code in hex format
- di Dump Internal RAM
- dx Dump External RAM
- ds Dump SFR

Removed obsolete commands

- wi,Wi Search for string in Internal RAM (removed 0.2.38, use where,Where instead)
- wx,Wx Search for string in External RAM (removed 0.2.38, use where,Where instead)
- wc,Wc Search for string in ROM (removed 0.2.38, use where,Where instead)
- gopt Get value of option(s) (removed 0.2.38, use get option instead)
- sopt Set value of option (removed 0.2.38, use set option instead)
- g Go (changed 0.2.12) (removed 0.2.38, use run instead)
- bs Set FETCH Breakpoint (removed 0.2.20, use break or tbreak instead)
- bse Set EVENT Breakpoint (removed 0.2.38, use break or tbreak instead)
- bd Delete FETCH Breakpoint (removed 0.2.20, use clear instead)
- bde Delete EVENT Breakpoint (removed 0.2.38, use delete instead)
- ba Delete all breakpoints (removed 0.2.38, use delete instead)
- bl List Breakpoints (removed 0.2.20, use info breakpoints instead)
- dr Dump registers (removed 0.2.37, use info registers instead)
- dp Dump ports (removed 0.2.38, use info hardware instead)
- si Set Internal RAM (removed 0.2.38, use set memory instead)
- sx Set External RAM (removed 0.2.38, use set memory instead)
- sc Set code (ROM) (removed 0.2.38, use set memory instead)
- ss Set SFR area (removed 0.2.38, use set memory instead)
- sb Set bit (removed 0.2.38, use set bit instead)
- fi Fill IRAM area with data (removed 0.2.38, use fill instead)
- fx Fill XRAM area with data (removed 0.2.38, use fill instead)
- fs Fill SFR area with data (removed 0.2.38, use fill instead)
- fc Fill ROM area with data (removed 0.2.38, use fill instead)
- db Dump bit (removed 0.2.38, use dump instead)
- sp Set port pins (removed 0.2.38, use set port instead)