-
Notifications
You must be signed in to change notification settings - Fork 2
Quick Reference
localcity edited this page Jan 23, 2022
·
17 revisions
.addr ; Official 6502 instructions
,addr ; Plus Undocumented instructions
@addr mne [operand]
@addr "string"
@addr:nn [nn] [nn] [nn]
@addr%bbbbbbbb
*addr ; Set persistent counter
* ; Show symbol table
*- ; Clear symbol table
:addr ; Hex
%addr ; Binary
; ; Display registers
;ac [xr] [yr] [pr]
<-addr ; Left-arrow
<- ; Continue after BRK
Note <- means the left-pointing arrow on the VIC-20's keyboard, the one in the upper left-hand corner.
!addr ; Set breakpoint, enable BRK trapping
! ; Clear breakpoint, enable BRK trapping
Stop/Restore ; Disable BRK trapping
>start end+1 ["filename"] ; Save
<["filename"] ; Load
&start end target ; Copy
@start "pattern" ; Pattern Fill
&start end * ; ,,
/addr:nn [nn] [nn] [nn] [nn] [nn] [nn] [nn]
/addr "string" ; Up to 16 characters
/addr mne [operand]
=addr nn [nn] [nn] [nn] [nn] [nn] [nn] [nn]
$hh[hh] ; Hex to base-10
#number ; Base-10 to Hex
^start-page [end-page] [NEW] ; Set stage address
^ ; Show stage address
Note ^ means the up-pointing arrow on the VIC-20's keyboard.