Electronic Components Datasheet Search
  English  ▼

X  

C8051F360 Datasheet(PDF) 121 Page - Silicon Laboratories

Part # C8051F360
Description  Mixed Signal ISP Flash MCU Family
PDF  288 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  SILABS [Silicon Laboratories]
Direct Link  http://www.silabs.com
Logo SILABS - Silicon Laboratories

C8051F360 Datasheet(HTML) 121 Page - Silicon Laboratories

Back Button C8051F360 Datasheet HTML 117Page - Silicon Laboratories C8051F360 Datasheet HTML 118Page - Silicon Laboratories C8051F360 Datasheet HTML 119Page - Silicon Laboratories C8051F360 Datasheet HTML 120Page - Silicon Laboratories C8051F360 Datasheet HTML 121Page - Silicon Laboratories C8051F360 Datasheet HTML 122Page - Silicon Laboratories C8051F360 Datasheet HTML 123Page - Silicon Laboratories C8051F360 Datasheet HTML 124Page - Silicon Laboratories C8051F360 Datasheet HTML 125Page - Silicon Laboratories Next Button
Zoom Inzoom in Zoom Outzoom out
 121 / 288 page
background image
Rev. 1.0
121
C8051F360/1/2/3/4/5/6/7/8/9
11.7.2. Multiply Only Example
The example below implements the equation:
4660
292
–
×
1360720
–
=
MOV
MAC0CF, #01h
; Use integer numbers, and multiply only mode (add to zero)
MOV
MAC0AH, #12h
; Load MAC0A register with 1234 hex = 4660 decimal
MOV
MAC0AL, #34h
MOV
MAC0BH, #FEh
; Load MAC0B register with FEDC hex = -292 decimal
MOV
MAC0BL, #DCh
; This line initiates the Multiply operation
NOP
NOP
; After this instruction, the Accumulator should be equal to
; FFFFEB3CB0 hex = -1360720 decimal. The MAC0STA register should
; be 0x01, indicating a negative result.
NOP
; After this instruction, the Rounding register is updated
11.7.3. MAC0 Accumulator Shift Example
The example below shifts the MAC0 accumulator left one bit, and then right two bits:
MOV
MAC0OVR, #40h
; The next few instructions load the accumulator with the value
MOV
MAC0ACC3, #88h
; 4088442211 Hex.
MOV
MAC0ACC2, #44h
MOV
MAC0ACC1, #22h
MOV
MAC0ACC0, #11h
MOV
MAC0CF, #20h
; Initiate a Left-shift
NOP
; After this instruction, the accumulator should be 0x8110884422
NOP
; The rounding register is updated after this instruction
MOV
MAC0CF, #30h
; Initiate a Right-shift
MOV
MAC0CF, #30h
; Initiate a second Right-shift
NOP
; After this instruction, the accumulator should be 0xE044221108
NOP
; The rounding register is updated after this instruction



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com