F28x CPU + FPU + VCU and CLA
1 - 6 C2000 Microcontroller Workshop - Architecture Overview
Special Instructions
F28x Atomic Read/Modify/Write
Registers
ALU / MPY
LOAD
STORE
WRITE
READ
CPU
Mem
Atomic Instructions Benefits
Simpler programming
Smaller, faster code
Uninterruptible (Atomic)
More efficient compiler
AND *XAR2,#1234h
2 words / 1 cycles
Atomic Read/Modify/Write
MOV AL,*XAR2
AND AL,#1234h
MOV *XAR2,AL
DINT
EINT
6 words / 6 cycles
Standard Load/Store
Atomics are small common instructions that are non-interuptable. The atomic ALU capability
supports instructions and code that manages tasks and processes. These instructions usually
execute several cycles faster than traditional coding.