Electronic Components Datasheet Search
  English  ▼

X  

C161RI Datasheet(PDF) 49 Page - Siemens Semiconductor Group

Part # C161RI
Description  16-Bit CMOS Single-Chip Microcontroller
PDF  317 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  SIEMENS [Siemens Semiconductor Group]
Direct Link  http://www.siemens.com/
Logo SIEMENS - Siemens Semiconductor Group

C161RI Datasheet(HTML) 49 Page - Siemens Semiconductor Group

Back Button C161RI Datasheet HTML 45Page - Siemens Semiconductor Group C161RI Datasheet HTML 46Page - Siemens Semiconductor Group C161RI Datasheet HTML 47Page - Siemens Semiconductor Group C161RI Datasheet HTML 48Page - Siemens Semiconductor Group C161RI Datasheet HTML 49Page - Siemens Semiconductor Group C161RI Datasheet HTML 50Page - Siemens Semiconductor Group C161RI Datasheet HTML 51Page - Siemens Semiconductor Group C161RI Datasheet HTML 52Page - Siemens Semiconductor Group C161RI Datasheet HTML 53Page - Siemens Semiconductor Group Next Button
Zoom Inzoom in Zoom Outzoom out
 49 / 317 page
background image
Semiconductor Group
4-9
1998-05-01
The Central Processing Unit (CPU)
C161RI
4.2
Bit-Handling and Bit-Protection
The C161RI provides several mechanisms to manipulate bits. These mechanisms either
manipulate software flags within the internal RAM, control on-chip peripherals via control bits in their
respective SFRs or control IO functions via port pins.
The instructions BSET, BCLR, BAND, BOR, BXOR, BMOV, BMOVN explicitly set or clear specific
bits. The instructions BFLDL and BFLDH allow to manipulate up to 8 bits of a specific byte at one
time. The instructions JBC and JNBS implicitly clear or set the specified bit when the jump is taken.
The instructions JB and JNB (also conditional jump instructions that refer to flags) evaluate the
specified bit to determine if the jump is to be taken.
Note: Bit operations on undefined bit locations will always read a bit value of ‘0’, while the write
access will not effect the respective bit location.
All instructions that manipulate single bits or bit groups internally use a read-modify-write sequence
that accesses the whole word, which contains the specified bit(s).
This method has several consequences:
• Bits can only be modified within the internal address areas, i.e. internal RAM and SFRs. External
locations cannot be used with bit instructions.
The upper 256 bytes of the SFR area, the ESFR area and the internal RAM are bit-addressable (see
chapter “Memory Organization”), i.e. those register bits located within the respective sections can
be directly manipulated using bit instructions. The other SFRs must be accessed byte/word wise.
Note: All GPRs are bit-addressable independent of the allocation of the register bank via the
context pointer CP. Even GPRs which are allocated to not bit-addressable RAM locations
provide this feature.
• The read-modify-write approach may be critical with hardware-effected bits. In these cases the
hardware may change specific bits while the read-modify-write operation is in progress, where
the writeback would overwrite the new bit value generated by the hardware. The solution is either
the implemented hardware protection (see below) or realized through special programming (see
“Particular Pipeline Effects”).
Protected bits are not changed during the read-modify-write sequence, i.e. when hardware sets
e.g. an interrupt request flag between the read and the write of the read-modify-write sequence. The
hardware protection logic guarantees that only the intended bit(s) is/are effected by the write-back
operation.
Note: If a conflict occurs between a bit manipulation generated by hardware and an intended
software access the software access has priority and determines the final value of the
respective bit.
A summary of the protected bits implemented in the C161RI can be found at the end of chapter
“Architectural Overview”.



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