C8051F360DK Silicon Laboratories Inc, C8051F360DK Datasheet - Page 121

KIT DEV FOR C8051F360 FAMILY

C8051F360DK

Manufacturer Part Number
C8051F360DK
Description
KIT DEV FOR C8051F360 FAMILY
Manufacturer
Silicon Laboratories Inc
Type
MCUr
Datasheets

Specifications of C8051F360DK

Contents
Evaluation Board, Power Supply, USB Cables, Adapter and Documentation
Processor To Be Evaluated
C8051F36x
Interface Type
USB
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
C8051F360, F361, F362, F363, F364, F365, F366, F367, F368, F369
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
336-1410
11.7.2. Multiply Only Example
The example below implements the equation:
MOV
MOV
MOV
MOV
MOV
NOP
NOP
NOP
11.7.3. MAC0 Accumulator Shift Example
The example below shifts the MAC0 accumulator left one bit, and then right two bits:
MOV
MOV
MOV
MOV
MOV
MOV
NOP
NOP
MOV
MOV
NOP
NOP
MAC0CF, #01h
MAC0AH, #12h
MAC0AL, #34h
MAC0BH, #FEh
MAC0BL, #DCh
MAC0OVR, #40h
MAC0ACC3, #88h
MAC0ACC2, #44h
MAC0ACC1, #22h
MAC0ACC0, #11h
MAC0CF, #20h
MAC0CF, #30h
MAC0CF, #30h
; Use integer numbers, and multiply only mode (add to zero)
; Load MAC0A register with 1234 hex = 4660 decimal
; Load MAC0B register with FEDC hex = -292 decimal
; This line initiates the Multiply operation
; After this instruction, the Accumulator should be equal to
; FFFFEB3CB0 hex = -1360720 decimal. The MAC0STA register should
; be 0x01, indicating a negative result.
; After this instruction, the Rounding register is updated
; The next few instructions load the accumulator with the value
; 4088442211 Hex.
; Initiate a Left-shift
; After this instruction, the accumulator should be 0x8110884422
; The rounding register is updated after this instruction
; Initiate a Right-shift
; Initiate a second Right-shift
; After this instruction, the accumulator should be 0xE044221108
; The rounding register is updated after this instruction
4660
×
C8051F360/1/2/3/4/5/6/7/8/9
Rev. 1.0
292
=
1360720
121

Related parts for C8051F360DK