![]() |
SCAMP-5c Vision System
1.0.0
An image sensor with a parallel processor on focal plane
|
IPU Instructions and Macros. More...
Files | |
file | ipu_instructions.h |
IPU Instructions and Macros.
The ipu has 16 8-bit general purpose registers (s0 - s15) and two flag bits (C and Z).
Among the registers, s10 to s15 are reserved for the macros.
Flag C will be set after an arthematic instruction that has overflow or underflow. Flag C will be cleared after an arthematic instruction that operates within a valid range.
Flag Z will be set after an instruction produces a result that is 0. Flag Z will be cleared after an instruction produces a result that is not 0. For the case of _mov
, Flag Z will be set if the value to be moved is equal to the original value in the destination register.