UCSIM(1)
π NAME π
okay so welcome to the UCSIM(1) page from the General Commands Manual, bestie β this is uCsim, aka the Micro-controller simulator. It's giving simulator-for-several-processor-families realness. You start it as a ucsim_XXXX command, where XXXX tells it which simulated processor type you want. Eg. ucsim_51 starts the Intel MCS51 microcontroller simulator, ucsim_z80 starts the Zilog Z80 microprocessor simulator, etc. iconic behavior β¨
β¨ SYNOPSIS β¨
ucsim_i8051
ucsim_51
ucsim_xa
ucsim_z80
ucsim_tlcs
ucsim_rxk
ucsim_i8048
ucsim_i8085
ucsim_avr
ucsim_pdk
ucsim_st7
ucsim_stm8
ucsim_p1516
ucsim_m6800
ucsim_m6809
ucsim_m68hc08
ucsim_m68hc11
ucsim_m68hc12
ucsim_mos6502
ucsim_plaze
ucsim_f8
ucsim_oisc
-a nr -A -b -B -c file -C cfg_file
-e command -E -g -G -h -H -I options -k portnum -l -o colors -p
prompt -P -q -R seed -s file -S options -t cpu_type -U uartnr -u
hw -v -V -w -X freq[k|M] -z portnum -Z portnum
πΈ DESCRIPTION πΈ
uCsim is a microcontroller, microprocessor simulator for several processor families. It can be started as ucsim_XXXX command, where XXXX specifies the simulated processor type. Eg. ucsim_51 starts Intel MCS51 microcontroller simulator, ucsim_z80 starts Zilog Z80 microprocessor simulator, etc. Slay, honestly. π
π OPTIONS π
Options of the command β yes bestie, all of them, no skipping. π«Ά
-anr β Specify size of variable space (default=256).-Aβ Force use colored output, remove effect of-band-qon colors.-bβ Black & white (non-color) theme.-Bβ Beep on breakpoints.-cfile β Open command console on file (use-for std in/out).-Cfile β Read initial commands from file and execute them.-ecommand β Execute command at program startup (after config file).-Eβ Go, start simulation in emulation mode.-gβ Go, start simulation.-Gβ Go, start simulation, quit on stop.-hβ Print out this help and quit.-Hβ Print out types of known CPUs and quit.-Ioptions β options is a comma separated list of options according to simulator interface. Known options are:if=memory[address]β turn on interface on given memory location.in=fileβ specify input file for IO.out=fileβ specify output file for IO.
-kportnum β Uselocalhost:portnumfor serial I/O. This option is obsolete, use-Sinstead.-lβ Use colors of the light theme (default is dark).-mβ Return value of simulatedmain()function.-ocolors β List of color specification:what=colspec,...wherecolspecis a:separated list of color options e.g.:prompt=b:white:black(bold white on black).-pprompt β Specify string for prompt.-Pβ Prompt is a null ('\0') character.-qβ Quiet mode, print less information (implies-b).-Rseed β Set the random number generator seed.-sfile β Connect serial interface uart0 to file. This option is obsolete, use-Sinstead.-Soptions β options is a comma separated list of options according to serial interface. Know options are:uart=nrβ number of uart (default=0).in=fileβ serial input will be read from file namedfile.out=fileβ serial output will be written tofile.port=nrβ uselocalhost:nras server for serial line.iport=nrβ uselocalhost:nras server for serial input.oport=nrβ uselocalhost:nras server for serial onput.rawβ perform non-interactive communication even on tty.
-tcpu_type β Specifies type of the controller. Use-Hto list possible values.-Uuartnr β Use std console as terminal for UARTid=uartnr.-uhw β Use std console as display for specified hw.-vβ Print out version number and quit.-Vβ Verbose mode.-wβ Writable flash.-Xfreq[k|M] β XTAL frequency in Hz, UsekorMsuffix to specify frequency in kHz or MHz.-zportnum β Listen portnum for command console.-Zportnum β Listen portnum for command console (no console on stdio).
π EXAMPLES π
None yet. That's the whole examples section, bestie. We're thriving anyway. π«Ά
π₯ SEE ALSO π₯
Go peek at sdcc(1), sdcdb(1), and serialview(1). iykyk β¨
π BUGS π
Probably many. π Not me saying it β the page says it. Keep that in mind, bestie. π
π AUTHORS, CONTRIBUTORS π
Big shoutout to the people this page credits: Daniel Drotos, Gunar Holm, Sandeep Dutta, Salvador Eduardo Tropea, Josef Wolf, Stephane Meyer, Larry Doolittle, Timothy Hurman, Karl-Max Wagner, Edmar Wienskoski Jr, Alexandre Frey, Kaido Karner, Kalr Bongers, Alexis Pavlov, Davine Zanni, Anton Persson, Nicolas Lesser, Mike Jagdis, Jiri Simek, Zbynek Krivka, Vaclav Peroutka, Valentin Dudouyt, Erik Petrich, Leland Morrison, Johan Knol. π legends π
okay that's the whole UCSIM(1) page, bestie β the footer is just the manual name UCSIM(1) again, with no extra source/version or date line to spill, so consider this the cute sign-off instead. πβ¨
π¦ where this page comes from
- arch rolling: sdcc 4.6.0-1 Β· GPL-2.0-or-later WITH GCC-exception-2.0
- nixpkgs unstable: sdcc 4.6.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms