1953 lines
24 KiB
Plaintext
1953 lines
24 KiB
Plaintext
\docstart`
|
|
|
|
\topic Introduction`
|
|
\keyword introduction;contents`
|
|
\title Introduction`
|
|
\browse General`
|
|
================
|
|
\b\fs24 Introduction to M68HC11`
|
|
|
|
[Instruction Set:InstructionSet]`
|
|
[Interrupt Vectors:InterruptVectors]`
|
|
-------------
|
|
|
|
|
|
\topic InterruptVectors`
|
|
\keyword Interrupt Vector`
|
|
\title Interrupt Vectors`
|
|
\browse General`
|
|
================
|
|
\b\fs24 M68HC11 Interrupt Vectors`
|
|
|
|
Clock Monitor............. FFFC,FFFD`
|
|
COP WatchDog.............. FFFA,FFFB`
|
|
SWI....................... FFF6,FFF7`
|
|
Timer (IC1F).............. FFEE,FFEF`
|
|
Timer (IC2F).............. FFEC,FFED`
|
|
Timer (IC3F).............. FFEA,FFEB`
|
|
Timer (OC1F).............. FFE8,FFE9`
|
|
Timer (OC2F).............. FFE6,FFE7`
|
|
Timer (OC3F).............. FFE4,FFE5`
|
|
Timer (OC4F).............. FFE2,FFE3`
|
|
Timer (OC5F).............. FFE0,FFE1`
|
|
Timer (TOF)............... FFDE,FFDD`
|
|
Pulse Accumulator (PAOVF). FFDC,FFDD`
|
|
Pulse Accumulator (PAII).. FFDA,FFDB`
|
|
|
|
-------------
|
|
|
|
\topic InstructionSet`
|
|
\keyword Instruction Set`
|
|
\title Instruction Set`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 Instruction Set`
|
|
|
|
[aba:aba]`
|
|
[abx:abx]`
|
|
[aby:aby]`
|
|
[adca:adca]`
|
|
[adcb:adcb]`
|
|
[adda:adda]`
|
|
[addb:addb]`
|
|
[addd:addd]`
|
|
[anda:anda]`
|
|
[andb:andb]`
|
|
[asl:asl]`
|
|
[asla:asla]`
|
|
[aslb:aslb]`
|
|
[asld:asld]`
|
|
[asr:asr]`
|
|
[asra:asra]`
|
|
[asrb:asrb]`
|
|
[bcc:bcc]`
|
|
[bclr:bclr]`
|
|
[bcs:bcs]`
|
|
[beq:beq]`
|
|
[bge:bge]`
|
|
[bgt:bgt]`
|
|
[bhi:bhi]`
|
|
[bhs:bhs]`
|
|
[bita:bita]`
|
|
[bitb:bitb]`
|
|
[ble:ble]`
|
|
[blo:blo]`
|
|
[bls:bls]`
|
|
[blt:blt]`
|
|
[bmi:bmi]`
|
|
[bne:bne]`
|
|
[bpl:bpl]`
|
|
[bra:bra]`
|
|
[brclr:brclr]`
|
|
[brn:brn]`
|
|
[brset:brset]`
|
|
[bset:bset]`
|
|
[bsr:bsr]`
|
|
[bvc:bvc]`
|
|
[bvs:bvs]`
|
|
[cba:cba]`
|
|
[clc:clc]`
|
|
[cli:cli]`
|
|
[clr:clr]`
|
|
[clra:clra]`
|
|
[clrb:clrb]`
|
|
[clv:clv]`
|
|
[cmpa:cmpa]`
|
|
[cmpb:cmpb]`
|
|
[com:com]`
|
|
[coma:coma]`
|
|
[comb:comb]`
|
|
[cpd:cpd]`
|
|
[cpx:cpx]`
|
|
[cpy:cpy]`
|
|
[daa:daa]`
|
|
[dec:dec]`
|
|
[deca:deca]`
|
|
[decb:decb]`
|
|
[des:des]`
|
|
[dex:dex]`
|
|
[dey:dey]`
|
|
[eora:eora]`
|
|
[eorb:eorb]`
|
|
[fdiv:fdiv]`
|
|
[idiv:idiv]`
|
|
[inc:inc]`
|
|
[inca:inca]`
|
|
[incb:incb]`
|
|
[ins:ins]`
|
|
[inx:inx]`
|
|
[iny:iny]`
|
|
[jmp:jmp]`
|
|
[jsr:jsr]`
|
|
[ldaa:ldaa]`
|
|
[ldab:ldab]`
|
|
[ldd:ldd]`
|
|
[lds:lds]`
|
|
[ldx:ldx]`
|
|
[ldy:ldy]`
|
|
[lsl:lsl]`
|
|
[lsla:lsla]`
|
|
[lslb:lslb]`
|
|
[lsld:lsld]`
|
|
[lsr:lsr]`
|
|
[lsra:lsra]`
|
|
[lsrb:lsrb]`
|
|
[lsrd:lsrd]`
|
|
[mul:mul]`
|
|
[neg:neg]`
|
|
[nega:nega]`
|
|
[negb:negb]`
|
|
[nop:nop]`
|
|
[oraa:oraa]`
|
|
[orab:orab]`
|
|
[psha:psha]`
|
|
[pshb:pshb]`
|
|
[pshx:pshx]`
|
|
[pshy:pshy]`
|
|
[pula:pula]`
|
|
[pulb:pulb]`
|
|
[pulx:pulx]`
|
|
[puly:puly]`
|
|
[rol:rol]`
|
|
[rola:rola]`
|
|
[rolb:rolb]`
|
|
[ror:ror]`
|
|
[rora:rora]`
|
|
[rorb:rorb]`
|
|
[rti:rti]`
|
|
[rts:rts]`
|
|
[sba:sba]`
|
|
[sbca:sbca]`
|
|
[sbcb:sbcb]`
|
|
[sec:sec]`
|
|
[sei:sei]`
|
|
[sev:sev]`
|
|
[staa:staa]`
|
|
[stab:stab]`
|
|
[std:std]`
|
|
[stop:stop]`
|
|
[sts:sts]`
|
|
[stx:stx]`
|
|
[sty:sty]`
|
|
[suba:suba]`
|
|
[subb:subb]`
|
|
[subd:subd]`
|
|
[swi:swi]`
|
|
[tab:tab]`
|
|
[tap:tap]`
|
|
[tba:tba]`
|
|
[test:test]`
|
|
[tpa:tpa]`
|
|
[tst:tst]`
|
|
[tsta:tsta]`
|
|
[tstb:tstb]`
|
|
[tsx:tsx]`
|
|
[tsy:tsy]`
|
|
[txs:txs]`
|
|
[tys:tys]`
|
|
[wai:wai]`
|
|
[xgdx:xgdx]`
|
|
[xgdy:xgdy]`
|
|
|
|
-------------------
|
|
|
|
\topic aba`
|
|
\keyword aba`
|
|
\title aba`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 aba`
|
|
|
|
Add Accumulators. A + B -> A. (INH)`
|
|
|
|
---------------
|
|
|
|
\topic abx`
|
|
\keyword abx`
|
|
\title abx`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 abx`
|
|
|
|
Add B to X. (INH)`
|
|
|
|
------------------
|
|
|
|
\topic aby`
|
|
\keyword aby`
|
|
\title aby`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 aby`
|
|
|
|
Add B to Y. (INH)`
|
|
|
|
------------------
|
|
|
|
\topic adca`
|
|
\keyword adca`
|
|
\title adca`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 adca`
|
|
|
|
Add with carry to A. (IMM,DIR,EXT,INDX,INDY)`
|
|
|
|
------------------
|
|
|
|
\topic adcb`
|
|
\keyword adcb`
|
|
\title adcb`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 adca`
|
|
|
|
Add with carry to B. (IMM,DIR,EXT,INDX,INDY)`
|
|
|
|
------------------
|
|
|
|
\topic adda`
|
|
\keyword adda`
|
|
\title adda`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 adda`
|
|
|
|
Add memory to A. A + M -> A. (IMM,DIR,EXT,INDX,INDY)`
|
|
|
|
------------------
|
|
|
|
\topic addb`
|
|
\keyword addb`
|
|
\title addb`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 addb`
|
|
|
|
Add memory to B. B + M -> B. (IMM,DIR,EXT,INDX,INDY)`
|
|
|
|
------------------
|
|
|
|
\topic addd`
|
|
\keyword addd`
|
|
\title addd`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 addd`
|
|
|
|
Add 16 bit to D. D + (M : M + 1) -> D. (IMM,DIR,EXT,INDX,INDY)`
|
|
|
|
------------------
|
|
|
|
\topic anda`
|
|
\keyword anda`
|
|
\title anda`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 anda`
|
|
|
|
AND A with memory. A & M -> A (IMM,DIR,EXT,INDX,INDY)`
|
|
|
|
------------------
|
|
|
|
\topic andb`
|
|
\keyword andb`
|
|
\title andb`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 andb`
|
|
|
|
AND B with memory. B & M -> B (IMM,DIR,EXT,INDX,INDY)`
|
|
|
|
------------------
|
|
|
|
\topic asl`
|
|
\keyword asl`
|
|
\title asl`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 asl`
|
|
|
|
Arithmetic shift left. (EXT,INDX,INDY)`
|
|
|
|
------------------
|
|
|
|
\topic asla`
|
|
\keyword asla`
|
|
\title asla`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 asla`
|
|
|
|
Arithmetic shift left A. (INH)`
|
|
|
|
------------------
|
|
|
|
\topic aslb`
|
|
\keyword aslb`
|
|
\title aslb`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 aslb`
|
|
|
|
Arithmetic shift left B. (INH)`
|
|
|
|
------------------
|
|
|
|
\topic asld`
|
|
\keyword asld`
|
|
\title asld`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 asld`
|
|
|
|
Arithmetic shift left D. (INH)`
|
|
|
|
------------------
|
|
|
|
\topic asr`
|
|
\keyword asr`
|
|
\title asr`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 asr`
|
|
|
|
Arithmetic shift right. (EXT,INDX,INDY)`
|
|
|
|
------------------
|
|
|
|
\topic asra`
|
|
\keyword asra`
|
|
\title asra`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 asra`
|
|
|
|
Arithmetic shift right A. (INH)`
|
|
|
|
------------------
|
|
|
|
\topic asrb`
|
|
\keyword asrb`
|
|
\title asrb`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 asrb`
|
|
|
|
Arithmetic shift right B. (INH)`
|
|
|
|
------------------
|
|
|
|
\topic bcc`
|
|
\keyword bcc`
|
|
\title bcc`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 bcc`
|
|
|
|
Branch if carry clear. (REL)`
|
|
|
|
------------------
|
|
|
|
\topic bclr`
|
|
\keyword bclr`
|
|
\title bclr`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 bclr`
|
|
|
|
Clear bits. M : (mm) -> M (DIR,INDX,INDY)`
|
|
|
|
------------------
|
|
|
|
\topic bcs`
|
|
\keyword bcs`
|
|
\title bcs`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 bcs`
|
|
|
|
Branch if carry set. (REL)`
|
|
|
|
------------------
|
|
|
|
\topic beq`
|
|
\keyword beq`
|
|
\title beq`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 beq`
|
|
|
|
Branch if equal zero. (REL)`
|
|
|
|
------------------
|
|
|
|
\topic bge`
|
|
\keyword bge`
|
|
\title bge`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 bge`
|
|
|
|
Branch if greater equal zero. (REL)`
|
|
|
|
------------------
|
|
|
|
\topic bgt`
|
|
\keyword bgt`
|
|
\title bgt`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 bgt`
|
|
|
|
Branch if greater than zero. (REL)`
|
|
|
|
------------------
|
|
|
|
\topic bhi`
|
|
\keyword bhi`
|
|
\title bhi`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 bhi`
|
|
|
|
Branch if higher. (REL)`
|
|
|
|
------------------
|
|
|
|
\topic bhs`
|
|
\keyword bhs`
|
|
\title bhs`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 bhs`
|
|
|
|
Branch if higher or same. (REL)`
|
|
|
|
------------------
|
|
|
|
\topic bita`
|
|
\keyword bita`
|
|
\title bita`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 bita`
|
|
|
|
Bit test A with memory. (IMM,DIR,EXT,INDX,INDY)`
|
|
|
|
------------------
|
|
|
|
\topic bitb`
|
|
\keyword bitb`
|
|
\title bitb`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 bitb`
|
|
|
|
Bit test B with memory. (IMM,DIR,EXT,INDX,INDY)`
|
|
|
|
------------------
|
|
|
|
\topic ble`
|
|
\keyword ble`
|
|
\title ble`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 ble`
|
|
|
|
Branch if less than or equal to zero. (REL)`
|
|
|
|
------------------
|
|
|
|
\topic blo`
|
|
\keyword blo`
|
|
\title blo`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 blo`
|
|
|
|
Branch if lower. (REL)`
|
|
|
|
------------------
|
|
|
|
\topic bls`
|
|
\keyword bls`
|
|
\title bls`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 bls`
|
|
|
|
Branch if less or same. (REL)`
|
|
|
|
------------------
|
|
|
|
\topic blt`
|
|
\keyword blt`
|
|
\title blt`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 blt`
|
|
|
|
Branch if less than zero. (REL)`
|
|
|
|
------------------
|
|
|
|
\topic bmi`
|
|
\keyword bmi`
|
|
\title bmi`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 bmi`
|
|
|
|
Branch if minus. (REL)`
|
|
|
|
------------------
|
|
|
|
\topic bne`
|
|
\keyword bne`
|
|
\title bne`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 bne`
|
|
|
|
Branch if not equal zero. (REL)`
|
|
|
|
------------------
|
|
|
|
\topic bpl`
|
|
\keyword bpl`
|
|
\title bpl`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 bpl`
|
|
|
|
Branch if plus. (REL)`
|
|
|
|
------------------
|
|
|
|
\topic bra`
|
|
\keyword bra`
|
|
\title bra`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 bra`
|
|
|
|
Branch always. (REL)`
|
|
|
|
------------------
|
|
|
|
\topic brclr`
|
|
\keyword brclr`
|
|
\title brclr`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 brclr`
|
|
|
|
Branch if bits clear. (DIR,INDX,INDY). (dd mm rr)`
|
|
(ff mm rr)`
|
|
------------------
|
|
|
|
\topic brn`
|
|
\keyword brn`
|
|
\title brn`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 brn`
|
|
|
|
Branch never. (REL)`
|
|
|
|
------------------
|
|
|
|
|
|
\topic brset`
|
|
\keyword brset`
|
|
\title brset`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 brset`
|
|
|
|
Branch if bits set. (DIR,INDX,INDY) (dd mm rr)`
|
|
(ff mm rr)`
|
|
|
|
-----------------
|
|
|
|
\topic bset`
|
|
\keyword bset`
|
|
\title bset`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 bset`
|
|
|
|
Set bits. (DIR,INDX,INDY) (dd mm)`
|
|
(ff mm)`
|
|
|
|
------------------
|
|
|
|
\topic bsr`
|
|
\keyword bsr`
|
|
\title bsr`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 bsr`
|
|
|
|
Branch to subroutine. (REL)`
|
|
|
|
------------------
|
|
|
|
\topic bvc`
|
|
\keyword bvc`
|
|
\title bvc`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 bvc`
|
|
|
|
Branch if overflow clear. (REL)`
|
|
|
|
------------------
|
|
|
|
\topic bvs`
|
|
\keyword bvs`
|
|
\title bvs`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 bvs`
|
|
|
|
Branch if overflow set. (REL)`
|
|
|
|
------------------
|
|
|
|
\topic cba`
|
|
\keyword cba`
|
|
\title cba`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 cba`
|
|
|
|
Compare A to B. (INH)`
|
|
|
|
------------------
|
|
|
|
\topic clc`
|
|
\keyword clc`
|
|
\title clc`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 clc`
|
|
|
|
Clear carry bit. (INH)`
|
|
|
|
------------------
|
|
|
|
\topic cli`
|
|
\keyword cli`
|
|
\title cli`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 cli`
|
|
|
|
Clear interrupt mask. (INH)`
|
|
|
|
------------------
|
|
|
|
\topic clr`
|
|
\keyword clr`
|
|
\title clr`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 clr`
|
|
|
|
Clear memory bytes. (EXT,INDX,INDY)`
|
|
|
|
------------------
|
|
|
|
\topic clra`
|
|
\keyword clra`
|
|
\title clra`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 clra`
|
|
|
|
Clear accumulator A. (INH)`
|
|
|
|
------------------
|
|
|
|
\topic clrb`
|
|
\keyword clrb`
|
|
\title clrb`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 clrb`
|
|
|
|
Clear accumulator B. (INH)`
|
|
|
|
------------------
|
|
|
|
\topic clv`
|
|
\keyword clv`
|
|
\title clv`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 clv`
|
|
|
|
Clear overflow flag. (INH)`
|
|
|
|
------------------
|
|
|
|
\topic cmpa`
|
|
\keyword cmpa`
|
|
\title cmpa`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 cmpa`
|
|
|
|
Compare A to memory. (IMM,DIR,EXT,INDX,INDY)`
|
|
|
|
------------------
|
|
|
|
\topic cmpb`
|
|
\keyword cmpb`
|
|
\title cmpb`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 cmpb`
|
|
|
|
Compare B to memory. (IMM,DIR,EXT,INDX,INDY)`
|
|
|
|
------------------
|
|
|
|
\topic com`
|
|
\keyword com`
|
|
\title com`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 com`
|
|
|
|
Ones complement memory byte. (EXT,INDX,INDY)`
|
|
|
|
------------------
|
|
|
|
\topic coma`
|
|
\keyword coma`
|
|
\title coma`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 coma`
|
|
|
|
Ones complement A. (INH)`
|
|
|
|
------------------
|
|
|
|
\topic comb`
|
|
\keyword comb`
|
|
\title comb`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 comb`
|
|
|
|
Ones complement B. (INH)`
|
|
|
|
------------------
|
|
|
|
\topic cpd`
|
|
\keyword cpd`
|
|
\title cpd`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 cpd`
|
|
|
|
compare D to memory 16-bit. (IMM,DIR,EXT,INDX,INDY)`
|
|
|
|
------------------
|
|
|
|
\topic cpx`
|
|
\keyword cpx`
|
|
\title cpx`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 cpx`
|
|
|
|
compare X to memory 16-bit. (IMM,DIR,EXT,INDX,INDY)`
|
|
|
|
------------------
|
|
|
|
\topic cpy`
|
|
\keyword cpy`
|
|
\title cpy`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 cpy`
|
|
|
|
compare Y to memory 16-bit. (IMM,DIR,EXT,INDX,INDY)`
|
|
|
|
------------------
|
|
|
|
\topic daa`
|
|
\keyword daa`
|
|
\title daa`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 daa`
|
|
|
|
Decimal adjust A. (INH)`
|
|
|
|
------------------
|
|
|
|
\topic dec`
|
|
\keyword dec`
|
|
\title dec`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 dec`
|
|
|
|
Decrement memory byte. (EXT,INDX,INDY)`
|
|
|
|
------------------
|
|
|
|
\topic deca`
|
|
\keyword deca`
|
|
\title deca`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 deca`
|
|
|
|
Decrement accumulator A. (INH)`
|
|
|
|
------------------
|
|
|
|
\topic decb`
|
|
\keyword decb`
|
|
\title decb`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 decb`
|
|
|
|
Decrement accumulator B. (INH)`
|
|
|
|
------------------
|
|
|
|
\topic des`
|
|
\keyword des`
|
|
\title des`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 des`
|
|
|
|
Decrement stack pointer. (INH)`
|
|
|
|
------------------
|
|
|
|
\topic dex`
|
|
\keyword dex`
|
|
\title dex`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 dex`
|
|
|
|
Decrement index register X. (INH)`
|
|
|
|
------------------
|
|
|
|
\topic dey`
|
|
\keyword dey`
|
|
\title dey`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 dey`
|
|
|
|
Decrement index register Y. (INH)`
|
|
|
|
------------------
|
|
|
|
\topic eora`
|
|
\keyword eora`
|
|
\title eora`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 eora`
|
|
|
|
Exclusive OR A with memory. (IMM,DIR,EXT,INDX,INDY)`
|
|
|
|
------------------
|
|
|
|
\topic eorb`
|
|
\keyword eorb`
|
|
\title eorb`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 eorb`
|
|
|
|
Exclusive OR B with memory. (IMM,DIR,EXT,INDX,INDY)
|
|
|
|
------------------
|
|
|
|
\topic fdiv`
|
|
\keyword fdiv`
|
|
\title fdiv`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 fdiv`
|
|
|
|
Fractional divide 16-bit by 16-bit . (INH)`
|
|
|
|
------------------
|
|
|
|
\topic idiv`
|
|
\keyword idiv`
|
|
\title idiv`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 idiv`
|
|
|
|
Integer divide 16-bit by 16-bit . (INH)`
|
|
|
|
------------------
|
|
|
|
\topic inc`
|
|
\keyword inc`
|
|
\title inc`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 inc`
|
|
|
|
Increment memory byte . (EXT,INDX,INDY)`
|
|
|
|
------------------
|
|
|
|
\topic inca`
|
|
\keyword inca`
|
|
\title inca`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 inca`
|
|
|
|
Increment accumulator A. (INH)`
|
|
|
|
------------------
|
|
|
|
\topic incb`
|
|
\keyword incb`
|
|
\title incb`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 incb`
|
|
|
|
Increment accumulator B. (INH)`
|
|
|
|
------------------
|
|
|
|
\topic ins`
|
|
\keyword ins`
|
|
\title ins`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 ins`
|
|
|
|
Increment stack pointer. (INH)`
|
|
|
|
------------------
|
|
|
|
\topic inx`
|
|
\keyword inx`
|
|
\title inx`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 inx`
|
|
|
|
Increment index register X. (INH)`
|
|
|
|
------------------
|
|
|
|
\topic iny`
|
|
\keyword iny`
|
|
\title iny`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 iny`
|
|
|
|
Increment index register Y. (INH)`
|
|
|
|
------------------
|
|
|
|
\topic jmp`
|
|
\keyword jmp`
|
|
\title jmp`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 jmp`
|
|
|
|
Jump. (EXT,INDX,INDY)`
|
|
|
|
------------------
|
|
|
|
|
|
\topic jsr`
|
|
\keyword jsr`
|
|
\title jsr`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 jsr`
|
|
|
|
Jump to subroutine. (DIR,EXT,INDX,INDY)`
|
|
|
|
------------------
|
|
|
|
\topic ldaa`
|
|
\keyword ldaa`
|
|
\title ldaa`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 ldaa`
|
|
|
|
Load accumulator A. (IMM,DIR,EXT,INDX,INDY)`
|
|
|
|
------------------
|
|
|
|
\topic ldab`
|
|
\keyword ldab`
|
|
\title ldab`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 ldab`
|
|
|
|
Load accumulator B. (IMM,DIR,EXT,INDX,INDY)`
|
|
|
|
------------------
|
|
|
|
\topic ldd`
|
|
\keyword ldd`
|
|
\title ldd`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 ldd`
|
|
|
|
Load double accumulator D.`
|
|
|
|
CC IMM ii`
|
|
DC DIR dd`
|
|
FC EXT hh ll`
|
|
EC INDX ff`
|
|
18 EC INDY ff`
|
|
|
|
|
|
------------------
|
|
|
|
\topic lds`
|
|
\keyword lds`
|
|
\title lds`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 ldjs`
|
|
|
|
Load stack pointer. (IMM,DIR,EXT,INDX,INDY)`
|
|
|
|
------------------
|
|
|
|
\topic ldx`
|
|
\keyword ldx`
|
|
\title ldx`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 ldx`
|
|
|
|
Load index register X. (IMM,DIR,EXT,INDX,INDY)`
|
|
|
|
------------------
|
|
|
|
\topic ldy`
|
|
\keyword ldy`
|
|
\title ldy`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 ldy`
|
|
|
|
Load index register Y. (IMM,DIR,EXT,INDX,INDY)`
|
|
|
|
------------------
|
|
|
|
\topic lsl`
|
|
\keyword lsl`
|
|
\title lsl`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 lsl`
|
|
|
|
Logical shift left. (EXT,INDX,INDY)`
|
|
|
|
------------------
|
|
|
|
\topic lsla`
|
|
\keyword lsla`
|
|
\title lsla`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 lsla`
|
|
|
|
Logical shift left A. (INH)`
|
|
|
|
------------------
|
|
|
|
\topic lslb`
|
|
\keyword lslb`
|
|
\title lslb`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 lslb`
|
|
|
|
Logical shift left B. (INH)`
|
|
|
|
------------------
|
|
|
|
\topic lsld`
|
|
\keyword lsld`
|
|
\title lsld`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 lsld`
|
|
|
|
Logical shift left D. (INH)`
|
|
|
|
------------------
|
|
|
|
\topic lsr`
|
|
\keyword lsr`
|
|
\title lsr`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 lsr`
|
|
|
|
Logical shift right. (EXT,INDX,INDY)`
|
|
|
|
------------------
|
|
|
|
\topic lsra`
|
|
\keyword lsra`
|
|
\title lsra`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 lsra`
|
|
|
|
Logical shift right A. (INH)`
|
|
|
|
------------------
|
|
|
|
\topic lsrb`
|
|
\keyword lsrb`
|
|
\title lsrb`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 lsrb`
|
|
|
|
Logical shift right B. (INH)`
|
|
|
|
------------------
|
|
|
|
\topic lsrd`
|
|
\keyword lsrd`
|
|
\title lsrd`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 lsrd`
|
|
|
|
Logical shift right D. (INH)`
|
|
|
|
------------------
|
|
|
|
\topic mul`
|
|
\keyword mul`
|
|
\title mul`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 mul`
|
|
|
|
Multiply A * B -> D (INH)`
|
|
|
|
------------------
|
|
|
|
\topic neg`
|
|
\keyword neg`
|
|
\title neg`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 neg`
|
|
|
|
Two's complement memory byte. (EXT,INDX,INDY)`
|
|
|
|
------------------
|
|
|
|
\topic nega`
|
|
\keyword nega`
|
|
\title nega`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 nega`
|
|
|
|
Two's complement A. (INH)`
|
|
|
|
------------------
|
|
|
|
\topic negb`
|
|
\keyword negb`
|
|
\title negb`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 negb`
|
|
|
|
Two's complement B. (INH)`
|
|
|
|
------------------
|
|
|
|
\topic nop`
|
|
\keyword nop`
|
|
\title nop`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 nop`
|
|
|
|
No operation. (INH)`
|
|
|
|
------------------
|
|
|
|
\topic oraa`
|
|
\keyword oraa`
|
|
\title oraa`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 oraa`
|
|
|
|
Inclusive OR accumulator A. (IMM,DIR,EXT,INDX,INDY)`
|
|
|
|
------------------
|
|
|
|
\topic orab`
|
|
\keyword orab`
|
|
\title orab`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 orab`
|
|
|
|
Inclusive OR accumulator B. (IMM,DIR,EXT,INDX,INDY)`
|
|
|
|
------------------
|
|
|
|
\topic psha`
|
|
\keyword psha`
|
|
\title psha`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 psha`
|
|
|
|
Push A onto stack. (INH)`
|
|
|
|
------------------
|
|
|
|
\topic pshb`
|
|
\keyword pshb`
|
|
\title pshb`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 pshb`
|
|
|
|
Push B onto stack. (INH)`
|
|
|
|
------------------
|
|
|
|
\topic pshx`
|
|
\keyword pshx`
|
|
\title pshx`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 pshx`
|
|
|
|
Push X onto stack. (INH)`
|
|
|
|
------------------
|
|
|
|
\topic pshy`
|
|
\keyword pshy`
|
|
\title pshy`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 pshy`
|
|
|
|
Push Y onto stack. (INH)`
|
|
|
|
------------------
|
|
|
|
\topic pula`
|
|
\keyword pula`
|
|
\title pula`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 pula`
|
|
|
|
Pull A from stack. (INH)`
|
|
|
|
------------------
|
|
|
|
\topic pulb`
|
|
\keyword pulb`
|
|
\title pulb`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 pulb`
|
|
|
|
Pull B from stack. (INH)`
|
|
|
|
------------------
|
|
|
|
\topic pulx`
|
|
\keyword pulx`
|
|
\title pulx`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 pulx`
|
|
|
|
Pull X from stack. (Hi byte first). (INH)`
|
|
|
|
------------------
|
|
|
|
\topic puly`
|
|
\keyword puly`
|
|
\title puly`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 puly`
|
|
|
|
Pull Y from stack. (Hi byte first). (INH)`
|
|
|
|
------------------
|
|
|
|
\topic rol`
|
|
\keyword rol`
|
|
\title rol`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 rol`
|
|
|
|
Rotate left. (EXT,INDX,INDY)`
|
|
|
|
------------------
|
|
|
|
\topic rola`
|
|
\keyword rola`
|
|
\title rola`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 rola`
|
|
|
|
Rotate left A. (INH)`
|
|
|
|
------------------
|
|
|
|
\topic rolb`
|
|
\keyword rolb`
|
|
\title rolb`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 rolb`
|
|
|
|
Rotate left B. (INH)`
|
|
|
|
------------------
|
|
|
|
\topic ror`
|
|
\keyword ror`
|
|
\title ror`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 ror`
|
|
|
|
Rotate right. (EXT,INDX,INDY)`
|
|
|
|
------------------
|
|
|
|
\topic rora`
|
|
\keyword rora`
|
|
\title rora`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 rora`
|
|
|
|
Rotate right A. (INH)`
|
|
|
|
------------------
|
|
|
|
\topic rorb`
|
|
\keyword rorb`
|
|
\title rorb`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 rorb`
|
|
|
|
Rotate right B. (INH)`
|
|
|
|
------------------
|
|
|
|
\topic rti`
|
|
\keyword rti`
|
|
\title rti`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 rti`
|
|
|
|
Return from interrupt. (INH)`
|
|
|
|
------------------
|
|
|
|
\topic rts`
|
|
\keyword rts`
|
|
\title rts`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 rts`
|
|
|
|
Return from subroutine. (INH)`
|
|
|
|
------------------
|
|
|
|
\topic sba`
|
|
\keyword sba`
|
|
\title sba`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 sba`
|
|
|
|
Subtract B from A -> A. (INH)`
|
|
|
|
------------------
|
|
|
|
\topic sbca`
|
|
\keyword sbca`
|
|
\title sbca`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 sbca`
|
|
|
|
Subtract with carry from A -> A. (IMM,DIR,EXT,INDX,INDY)`
|
|
|
|
------------------
|
|
|
|
\topic sbcb`
|
|
\keyword sbcb`
|
|
\title sbcb`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 sbcb`
|
|
|
|
Subtract with carry from B -> B. (IMM,DIR,EXT,INDX,INDY)`
|
|
|
|
------------------
|
|
|
|
\topic sec`
|
|
\keyword sec`
|
|
\title sec`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 sec`
|
|
|
|
Set carry. (INH)`
|
|
|
|
------------------
|
|
|
|
\topic sei`
|
|
\keyword sei`
|
|
\title sei`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 sei`
|
|
|
|
Set interrupt mask. (INH)`
|
|
|
|
------------------
|
|
|
|
\topic sev`
|
|
\keyword sev`
|
|
\title sev`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 sev`
|
|
|
|
Set overflow flag. (INH)`
|
|
|
|
------------------
|
|
|
|
\topic staa`
|
|
\keyword staa`
|
|
\title staa`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 staa`
|
|
|
|
Store accumulator A -> M. (DIR,EXT,INDX,INDY)`
|
|
|
|
------------------
|
|
|
|
\topic stab`
|
|
\keyword stab`
|
|
\title stab`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 stab`
|
|
|
|
Store accumulator B -> M. (DIR,EXT,INDX,INDY)`
|
|
|
|
------------------
|
|
|
|
\topic std`
|
|
\keyword std`
|
|
\title std`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 std`
|
|
|
|
Store accumulator D -> M (A -> M : B -> M + 1).`
|
|
|
|
DD DIR dd`
|
|
FD EXT hh ll`
|
|
ED INDX ff`
|
|
18 ED INDY ff'
|
|
|
|
------------------
|
|
|
|
\topic stop`
|
|
\keyword stop`
|
|
\title stop`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 stop`
|
|
|
|
Stop internal clocks. (DIR,EXT,INDX,INDY)`
|
|
|
|
------------------
|
|
|
|
\topic sts`
|
|
\keyword sts`
|
|
\title sts`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 sts`
|
|
|
|
Store stack pointer SP -> M : M + 1. (DIR,EXT,INDX,INDY)`
|
|
|
|
------------------
|
|
|
|
\topic stx`
|
|
\keyword stx`
|
|
\title stx`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 stx`
|
|
|
|
Store index register X -> M : M + 1. (DIR,EXT,INDX,INDY)`
|
|
|
|
------------------
|
|
|
|
\topic sty`
|
|
\keyword sty`
|
|
\title sty`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 sty`
|
|
|
|
Store index register Y -> M : M + 1. (DIR,EXT,INDX,INDY)`
|
|
|
|
------------------
|
|
|
|
\topic suba`
|
|
\keyword suba`
|
|
\title suba`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 suba`
|
|
|
|
Subtract memory from A. A - M -> A. (IMM,DIR,EXT,INDX,INDY)`
|
|
|
|
------------------
|
|
|
|
\topic subb`
|
|
\keyword subb`
|
|
\title subb`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 subb`
|
|
|
|
Subtract memory from B. B - M -> B. (IMM,DIR,EXT,INDX,INDY)`
|
|
|
|
------------------
|
|
|
|
\topic subd`
|
|
\keyword subd`
|
|
\title subd`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 subd`
|
|
|
|
Subtract memory from D. D - M : M + 1 -> D. (IMM,DIR,EXT,INDX,INDY)`
|
|
|
|
------------------
|
|
|
|
\topic swi`
|
|
\keyword swi`
|
|
\title swi`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 swi`
|
|
|
|
Software interrupt. (INH)`
|
|
|
|
------------------
|
|
|
|
\topic tab`
|
|
\keyword tab`
|
|
\title tab`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 tab`
|
|
|
|
Transfer A to B. (INH)`
|
|
|
|
------------------
|
|
|
|
\topic tap`
|
|
\keyword tap`
|
|
\title tap`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 tap`
|
|
|
|
Transfer A to CC (Control Register). (INH)`
|
|
|
|
------------------
|
|
|
|
\topic tba`
|
|
\keyword tba`
|
|
\title tba`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 tba`
|
|
|
|
Transfer B to A. (INH)`
|
|
|
|
------------------
|
|
|
|
\topic test`
|
|
\keyword test`
|
|
\title test`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 test`
|
|
|
|
TEST (Only in test modes). (INH)`
|
|
|
|
------------------
|
|
|
|
\topic tpa`
|
|
\keyword tpa`
|
|
\title tpa`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 tpa`
|
|
|
|
Transfer CC (Control Register) to A. (INH)`
|
|
|
|
------------------
|
|
|
|
\topic tst`
|
|
\keyword tst`
|
|
\title tst`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 tst`
|
|
|
|
Test for zero or minus. (EXT,INDX,INDY)`
|
|
|
|
------------------
|
|
|
|
\topic tsta`
|
|
\keyword tsta`
|
|
\title tsta`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 tsta`
|
|
|
|
Test A for zero or minus. (INH)`
|
|
|
|
------------------
|
|
|
|
\topic tstb`
|
|
\keyword tstb`
|
|
\title tstb`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 tstb`
|
|
|
|
Test B for zero or minus. (INH)`
|
|
|
|
------------------
|
|
|
|
\topic tsx`
|
|
\keyword tsx`
|
|
\title tsx`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 tsx`
|
|
|
|
Transfer stack pointer to X. (INH)`
|
|
|
|
------------------
|
|
|
|
\topic tsy`
|
|
\keyword tsy`
|
|
\title tsy`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 tsy`
|
|
|
|
Transfer stack pointer to Y. (INH)`
|
|
|
|
------------------
|
|
|
|
\topic txs`
|
|
\keyword txs`
|
|
\title txs`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 txs`
|
|
|
|
Transfer X to stack pointer. (INH)`
|
|
|
|
------------------
|
|
|
|
\topic tys`
|
|
\keyword tys`
|
|
\title tys`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 tys`
|
|
|
|
Transfer Y to stack pointer. (INH)`
|
|
|
|
------------------
|
|
|
|
\topic wai`
|
|
\keyword wai`
|
|
\title wai`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 wai`
|
|
|
|
Wait for interrupt. Stack the registers and wait. (INH)`
|
|
|
|
------------------
|
|
|
|
\topic xgdx`
|
|
\keyword xgdx`
|
|
\title xgdx`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 xgdx`
|
|
|
|
Exchange D with X. (INH)`
|
|
|
|
------------------
|
|
|
|
\topic xgdy`
|
|
\keyword xgdy`
|
|
\title xgdy`
|
|
\browse General`
|
|
===============
|
|
|
|
\b\fs24 xgdy`
|
|
|
|
Exchange D with Y. (INH)`
|
|
|
|
------------------
|
|
|
|
|
|
\docend`
|