Electronic Components Datasheet Search
  English  ▼

X  

38K2 Datasheet(PDF) 347 Page - Renesas Technology Corp

Part # 38K2
Description  RENESAS 8-BIT SINGLE-CHIP MICROCOMPUTER 740 FAMILY / 38000 SERIES
PDF  358 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  RENESAS [Renesas Technology Corp]
Direct Link  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

38K2 Datasheet(HTML) 347 Page - Renesas Technology Corp

Back Button 38K2 Datasheet HTML 343Page - Renesas Technology Corp 38K2 Datasheet HTML 344Page - Renesas Technology Corp 38K2 Datasheet HTML 345Page - Renesas Technology Corp 38K2 Datasheet HTML 346Page - Renesas Technology Corp 38K2 Datasheet HTML 347Page - Renesas Technology Corp 38K2 Datasheet HTML 348Page - Renesas Technology Corp 38K2 Datasheet HTML 349Page - Renesas Technology Corp 38K2 Datasheet HTML 350Page - Renesas Technology Corp 38K2 Datasheet HTML 351Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 347 / 358 page
background image
Addressing mode
ZP, X
ZP, Y
ABS
ABS, X
ABS, Y
IND
ZP, IND
IND, X
IND, Y
REL
SP
7
6
5
4
3
2
1
0
Processor status register
NV
T
B
D
I
Z
C
OP n
# OP n
# OP n
# OP n
# OP n
# OP n
# OP n
#
OP n
#
OP n
#
OP n
# OP n
#
3.6 Machine instructions
Rev.2.00
Oct 15, 2006
page 87 of 99
38K2 Group
REJ09B0338-0200
APPENDIX
Addressing mode
Symbol
Function
Details
IMP
IMM
A
BIT, A
ZP
BIT, ZP
OP n# OP n# OP n# OP n# OP n#
OP n
#
3.6 Machine instructions
Rev.2.00
Oct 15, 2006
page 86 of 99
38K2 Group
REJ09B0338-0200
APPENDIX
75
35
16
4
4
6
2
2
2
6D
2D
0E
2C
4
4
6
4
3
3
3
3
7D
3D
1E
5
5
7
3
3
3
79
39
5
5
3
3
61
21
6
6
2
2
90
B0
F0
2
2
2
2
2
2
71
31
6
6
2
2
N
N
N
•
•
•
•
•
M7
•
•
V
•
•
•
•
•
•
•
M6
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
Z
Z
Z
•
•
•
•
•
Z
•
•
C
•
C
•
•
•
•
•
•
•
•
30
D0
2
2
2
2
When T = 0, this instruction adds the contents
M, C, and A; and stores the results in A and C.
When T = 1, this instruction adds the contents
of M(X), M and C; and stores the results in
M(X) and C. When T=1, the contents of A re-
main unchanged, but the contents of status
flags are changed.
M(X) represents the contents of memory
where is indicated by X.
When T = 0, this instruction transfers the con-
tents of A and M to the ALU which performs a
bit-wise AND operation and stores the result
back in A.
When T = 1, this instruction transfers the con-
tents M(X) and M to the ALU which performs a
bit-wise AND operation and stores the results
back in M(X). When T = 1 the contents of A re-
main unchanged, but status flags are
changed.
M(X) represents the contents of memory
where is indicated by X.
This instruction shifts the content of A or M by
one bit to the left, with bit 0 always being set to
0 and bit 7 of A or M always being contained in
C.
This instruction tests the designated bit i of M
or A and takes a branch if the bit is 0. The
branch address is specified by a relative ad-
dress. If the bit is 1, next instruction is
executed.
This instruction tests the designated bit i of the
M or A and takes a branch if the bit is 1. The
branch address is specified by a relative ad-
dress. If the bit is 0, next instruction is
executed.
This instruction takes a branch to the ap-
pointed address if C is 0. The branch address
is specified by a relative address. If C is 1, the
next instruction is executed.
This instruction takes a branch to the ap-
pointed address if C is 1. The branch address
is specified by a relative address. If C is 0, the
next instruction is executed.
This instruction takes a branch to the ap-
pointed address when Z is 1. The branch
address is specified by a relative address.
If Z is 0, the next instruction is executed.
This instruction takes a bit-wise logical AND of
A and M contents; however, the contents of A
and M are not modified.
The contents of N, V, Z are changed, but the
contents of A, M remain unchanged.
This instruction takes a branch to the ap-
pointed address when N is 1. The branch
address is specified by a relative address.
If N is 0, the next instruction is executed.
This instruction takes a branch to the ap-
pointed address if Z is 0. The branch address
is specified by a relative address. If Z is 1, the
next instruction is executed.
ADC
(Note 1)
(Note 5)
AND
(Note 1)
ASL
BBC
(Note 4)
BBS
(Note 4)
BCC
(Note 4)
BCS
(Note 4)
BEQ
(Note 4)
BIT
BMI
(Note 4)
BNE
(Note 4)
7
0
C
←
←0
29 2
2
0A 2
1
03
+
20i
17
+
20i
07
+
20i
06 5
2
25 3
2
3
65 3
2
69 2
2
4
4
2
2
13
+
20i
5
5
3
3
24
When T = 0
A
← A + M + C
When T = 1
M(X)
← M(X) + M + C
When T = 0
A
← A M
When T = 1
M(X)
← M(X) M
Ai or Mi = 0?
Ai or Mi = 1?
C = 0?
C = 1?
Z = 1?
A
M
N = 1?
Z = 0?
2
3.6 Machine instructions
BIT, A, R
BIT, ZP, R



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