tm1300 NXP Semiconductors, tm1300 Datasheet - Page 442

no-image

tm1300

Manufacturer Part Number
tm1300
Description
Tm-1300 Media Processor
Manufacturer
NXP Semiconductors
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
tm1300-1.2
Quantity:
380
TM1300 Data Book
readspc
SYNTAX
FUNCTION
DESCRIPTION
writes its target address to SPC. The value of SPC allows an exception-handling routine to determine the start
address of the block of scheduled code (called a decision tree) that was executing before the exception was
taken.This operation can be used to save state before idling a task in a multi-tasking environment.
modification of the destination register. If the LSB of r guard is 1, r dest is written; otherwise, r dest is unchanged.
EXAMPLES
A-156
SPC = 0xbeebee
r20 = 0, SPC = 0xabba
r21 = 1, SPC = 0xabba
The
An interruptible jump that is not interrupted (no NMI, INT, or EXC event was pending when the jump was executed)
The
[ IF r guard ] readspc
if r guard then {
}
r dest
readspc
readspc
Initial Values
SPC
writes the current value of the SPC (Source Program Counter) processor register to r dest .
operation optionally takes a guard, specified in r guard . If a guard is present, its LSB controls the
PRODUCT SPECIFICATION
readspc
IF r20 readspc
IF r21 readspc
r dest
Operation
r100
r101
r102
Read source program counter
r100
no change, since guard is false
r102
0xbeebee
0xabba
Function unit
Operation code
Number of operands
Modifier
Modifier range
Latency
Issue slots
writespc readdpc ijmpf
Philips Semiconductors
Result
ijmpi ijmpt
ATTRIBUTES
SEE ALSO
fcomp
157
No
0
1
3

Related parts for tm1300