Electronic Components Datasheet Search
  English  ▼

X  

D17133CS Datasheet(PDF) 113 Page - NEC

Part # D17133CS
Description  4-BIT SINGLE-CHIP MICROCONTROLLER
PDF  289 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  NEC [NEC]
Direct Link  http://www.nec.com/
Logo NEC - NEC

D17133CS Datasheet(HTML) 113 Page - NEC

Back Button D17133CS Datasheet HTML 109Page - NEC D17133CS Datasheet HTML 110Page - NEC D17133CS Datasheet HTML 111Page - NEC D17133CS Datasheet HTML 112Page - NEC D17133CS Datasheet HTML 113Page - NEC D17133CS Datasheet HTML 114Page - NEC D17133CS Datasheet HTML 115Page - NEC D17133CS Datasheet HTML 116Page - NEC D17133CS Datasheet HTML 117Page - NEC Next Button
Zoom Inzoom in Zoom Outzoom out
 113 / 289 page
background image
CHAPTER 11
ARITHMETIC AND LOGIC UNIT
98
11.5.1 TRUE (1) Bit Judgement
The TRUE (1) bit judgement instruction (SKT m, #n) is used to determine whether or not the bits specified by n
in the four bits of data memory m are TRUE (1). When all bits specified by n are TRUE (1), this instruction causes
the next instruction to be skipped.
Example
MOV
M1,
#1011B
SKT
M1,
#1011B
; <1>
BR
A
BR
B
SKT
M1,
#1101B
; <2>
BR
C
BR
D
In this example, bit 3, 1, and 0 of data memory M1 are judged in step number <1>. Because all the
bits are TRUE (1), the program branches to B. In step number <2>, bits 3, 2 and 0 of data memory
M1 are judged. Since bit 2 of data memory M1 is FALSE (0), the program branches to C.
11.5.2 FALSE (0) Bit Judgement
The FALSE (0) bit judgement instruction (SKF m, #n) is used to determine whether or not the bits specified by
n in the four bits of data memory m are FALSE (0). When all bits specified by n are FALSE (0), this instruction causes
the next instruction to be skipped.
Example
MOV
M1,
#1011B
SKT
M1,
#0110B
; <1>
BR
A
BR
B
SKT
M1,
#1101B
; <2>
BR
C
BR
D
In this example, bits 2 and 1 of data memory M1 are judged in step number <1>. Because both bits
are FALSE (0), the program branches to B. In step number <2> bits 3, 2, and 1 of data memory M1
are judged. Since bit 3 of data memory M1 is TRUE (1), the program branches to C.



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