Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

SN8F5708 Datasheet(PDF) 70 Page - SONiX Technology Company

Part # SN8F5708
Description  8051-based Microcontroller
PDF  204 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  SONIX [SONiX Technology Company]
Direct Link  http://www.sonix.com.tw
Logo SONIX - SONiX Technology Company

SN8F5708 Datasheet(HTML) 70 Page - SONiX Technology Company

Back Button SN8F5708 Datasheet HTML 66Page - SONiX Technology Company SN8F5708 Datasheet HTML 67Page - SONiX Technology Company SN8F5708 Datasheet HTML 68Page - SONiX Technology Company SN8F5708 Datasheet HTML 69Page - SONiX Technology Company SN8F5708 Datasheet HTML 70Page - SONiX Technology Company SN8F5708 Datasheet HTML 71Page - SONiX Technology Company SN8F5708 Datasheet HTML 72Page - SONiX Technology Company SN8F5708 Datasheet HTML 73Page - SONiX Technology Company SN8F5708 Datasheet HTML 74Page - SONiX Technology Company Next Button
Zoom Inzoom in Zoom Outzoom out
 70 / 204 page
background image
www.sonix.com.tw
SN8F5708 Series
Copyright © 2019, SONiX Technology Co., Ltd.
MDU
Datasheet Rev. 2.4
70
CPU cycles depends on the shift time.
In normalizing operation, the 32-bit unsigned integer would be shifted left repeatedly until the
most significant bit (7
th bit of MD3 register) is 1. A normalizing operation takes 4 to 19 CPU cycles
depends on the actual shift time.
Both shifting and normalizing operations are started by proper sequence of writing registers: MD0,
MD1, MD2, MD3, and finally ARCON register. The result would be place in MD0 to MD3 registers
which should be read in the sequence of MD0, MD1, MD2, and MD3.
11.4
Cooperate with Keil C51
Because Keil C51 supports both of hardware and software multiplication/division operators, a
command line ‘#pragma mdu_r515’ is required in C to enable the hardware MDU functionality for
higher performance. Subsequently, Keil C51 would compile mathematic operators with MDU
support.
1
2
#include <SN8F5708.H>
#pragma mdu_r515
//Keil C51 MDU command line
11.5
The Error Flag (MDEF)
The “MDEF” error flag indicates an improperly performed operation (when one of the arithmetic
operations has been restarted or interrupted by a new operation). The error flag mechanism is
automatically enabled with the first write operation to “MD0” and disabled with the final read
instruction from “MD3” (multiplication or shift/normalize) or “MD5” (division) in phase three.
The error flag is set when:
There is a write access to ‘MDx’ registers (any of ’MD0’ to ‘MD5’ and ARCON ) during phase two of
MDU operation (restart or calculations interrupting)
There is a read access to one of MDx registers during phase two of MDU operation when the error
flag mechanism is enabled. In such condition error flag is set but the calculation is not interrupted.
The error flag is reset only after read access to “ARCON” register. The error flag is read only.
11.6
The Overflow Flag (MDOV)
The MDOV overflow flag is set when one of the following conditions occurs:
Division by zero
Multiplication with a result greater than 0000 FFFFh
Start of normalizing if the most significant bit of MD3 is set (MD3.7= 1)
Any operation of the MDU that does not match the above conditions clears the overflow flag. Note
that the overflow flag is exclusively controlled by hardware. It cannot be written.



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