sx20ac Parallax, Inc., sx20ac Datasheet - Page 38

no-image

sx20ac

Manufacturer Part Number
sx20ac
Description
Configurable Communications Controllers With Ee/flash Program Memory, In-system Programming Capability And On-chip Debug
Manufacturer
Parallax, Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
sx20ac/SS
Manufacturer:
EUDYNA
Quantity:
12
Part Number:
sx20ac/SS
Manufacturer:
UBICOM
Quantity:
20 000
Part Number:
sx20ac/SS-G
Manufacturer:
IR
Quantity:
31 400
Parallax SX20AC/SX28AC
© Parallax Inc.
CALL addr8
JMP addr8
NOP
RET
RETP
RETI
RETIW
RETW lit
BANK addr8
IREAD
PAGE addr12
SLEEP
Mnemonic,
Mnemonic,
Operands
Operands
Call Subroutine:
Top-of-stack = program counter + 1
PC(7:0) = addr8
Program counter (8) = 0
Program counter (10:9) = PA1:PA0
Jump to Address:
PC(7:0) = addr9(7:0)
Program counter = (8) = addr9(8)
Program counter (10:9) = PA1:PA0
No Operation
Return from subroutine
(program counter = top-of-stack)
Return from subroutine across Page boundary
(PA1:PA0 = top-of-stack (10:19) and program
counter = top-of-stack)
Return from Interrupt (restore W, STATUS, FSR,
and program counter from shadow registers)
Return from Interrupt and add W to RTCC
(restore W, STATUS FSR, and program counter
from shadow registers; and add W to RTCC)
Return from Subroutine with Liter in W
(W = lit and program counter = top-of-stack)
Load Bank number into FSR(7:5)
FSR(7:5) = addr8(7:5)
Read word from Instruction memory
MODE:W = data at (MODE:W)
Load Page number into STATUS(7:5)
STATUS(7:5) = addr12(11:9)
Power down mode
WDT = 00h, TO = 1, stop oscillator
(PD = 0, clears prescaler if assigned)
Table 16-5: SX Instruction Set: Program Control Instructions
Table 16-6: SX Instruction Set: System Control Instructions
Description
Description
Page 38 of 51
Clock Cycles
Clock Cycles
(Slow Mode)
(Slow Mode)
16
8
8
8
8
8
8
8
4
4
4
4
Clock Cycles
Clock Cycles
(Turbo)
(Turbo)
3
3
1
3
3
3
3
3
1
4
1
1
1001 kkkk kkkk
101k kkkk kkkk
0000 0000 0000
0000 0000 1100
0000 0000 1101
0000 0000 1110
0000 0000 1111
1000 kkkk kkkk
0000 0001 1nnn
0000 0100 0001
0000 0001 0nnn
0000 0000 0011
Opcode
Opcode
Rev 1.6 11/20/2006
www.parallax.com
All STATUS
All STATUS
except TO,
except TO,
PA1, PA0
PA1, PA0
Affected
Affected
TO, PD
none
none
none
none
none
none
none
Bits
Bits
PD
PD

Related parts for sx20ac