AS2650v2
- Overview
- Pinout
- Bus Interface
- Internal Memory
- Wishbone Registers
- Input / Output
- Interrupt Model
- Instruction Set Architecture
- Summary
- Programming Model
- Memory Model
- Instruction Addressing Modes
- Instructions
- lodz/lodi/lodr/loda - Load Register value
- eorz/eori/eorr/eora - Logical Exclusive OR
- andz/andi/andr/anda - Logical AND
- iorz/iori/iorr/iora - Logical Inclusive OR
- addz/addi/addr/adda - Addition
- subz/subi/subr/suba - Subtraction
- strz/strr/stra - Store Register Value
- comz/comi/comr/coma - Compare Values
- bctr/bcta - Branch on Condition True
- bstr/bsta - Branch to Subroutine on Condition True
- brnr/brna - Branch if Not Zero
- bsnr/bsna - Branch to Subroutine if Not Zero
- bcfr/bcfa - Branch on Condition False
- bsfr/bsfa - Branch to Subroutine on Condition False
- birr/bira - Branch on Incrementing Register Not Zero
- bdrr/bdra - Branch on Decrementing Register Not Zero
- retc - Return on Condition True
- rete - Return on Condition True and Enable Interrupts
- rrr - Rotate Register Right
- rrl - Rotate Register Left
- dar - Decimal Adjust Register
- wrtc - Write Command
- wrtd - Write Data
- redc - Read Command
- redd - Read Data
- wrte - Write Extended IO
- rede - Read Extended IO
- spsu - Store Program Status Upper
- spsl - Store Program Status Lower
- lpsu - Load Program Status Upper
- lpsl - Load Program Status Lower
- halt - Halt
- cpsu - Clear bits in Program Status Upper
- cpsl - Clear bits in Program Status Lower
- ppsu - Preset bits in Program Status Upper
- ppsl - Preset bits in Program Status Lower
- tpsu - Test Program Status Upper
- tpsl - Test Program Status Lower
- nop - No Operation
- tmi - Test Under Mask Immediate
- zbrr - Zero-Branch Relative
- zbsr - Zero-Branch to Subroutine Relative
- bxa - Branch Indexed, Absolute
- bsxa - Branch to Subroutine Indexed, Absolute
- Extended Instructions
- push - Push to Internal Stack
- pop - Pop from Internal Stack
- mul - Unsigned multiply of R0 and R1
- xchg - Exchange R0 and R1
- clr - Clear Register
- trap - Software Trap
- clrt - Clear Trap Pending Flag
- cpl - Complement Register
- pshs - Push Program Status
- pops - Pop Program Status
- svb - Set Interrupt Vector Base
- lodf - Load Register value, Far
- ldfi - Load Register value, Far Indirect
- strf - Store Register value, Far
- stfi - Store Register value, Far Indirect
- bctf - Branch on Condition True, Far
- bstf - Branch to Subroutine on Condition True, Far
- brnf - Branch on Not Zero, Far
- bsnf - Branch to Subroutine on Not Zero, Far
- bcff - Branch on Condition False, Far
- bsff - Branch to Subroutine on Condition False, Far
- birf - Branch on Incrementing Register Not Zero, Far
- bdrf - Branch on Decrementing Register Not Zero, Far