PPT Slide
Example: Vector Dot Product
- MoVeKonstant
- MVK .S 40,A2 ; A2 = 40
- Lower 16 bits of A2 are loaded
- Conditional branch
- [condition] B .S loop
- [A2] means to execute the instruction if A2 != 0
- Only A1, A2, B0, B1, and B2 can be used
- Loading registers
- LDH .D *A5, A0 ;Loads half-word into A0 from memory
- Registers may be used as pointers (*A1++)