UPD75238GJ

Manufacturer Part NumberUPD75238GJ
Description4 BIT SINGLE-CHIP MICROCOMPUTER
ManufacturerNEC [NEC]
UPD75238GJ datasheet
 
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
Page 151
152
Page 152
153
Page 153
154
Page 154
155
Page 155
156
Page 156
157
Page 157
158
Page 158
159
Page 159
160
Page 160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
Page 151/190

Download datasheet (2Mb)Embed
PrevNext
Since PC does not increment the counter during execution of a GETI instruction, control returns to the
address next to the GETI instruction after the execution of the GETI instruction.
When the instruction before a GETI instruction has the skip function, the GETI instruction is skipped in
the same way as for other single-byte instructions. When the instruction referenced by a GETI instruction
has the skip function, the instructions after the GETI instruction are skipped.
When a string effect instruction is referenced by a GETI instruction, the following results are obtained.
• When the group of the string effect instruction before the GETI instruction is the same as that of the
instruction referenced by the GETI instruction, the effect of the string effect instruction is canceled and
the referenced instruction is not skipped.
• When the group of the instruction after the GETI instruction is the same as that of the instruction
referenced by the GETI instruction, the effect of the string effect instruction caused by the referenced
instruction is valid and the instructions after the referenced instruction are skipped.
(2) Bit manipulation instructions
The PD75238 is provided with bit test instructions, bit transfer instructions, and bit Boolean instructions
(AND, OR, and XOR) in addition to normal bit manipulation instructions (set instruction and clear
instruction). Manipulation bits are specified by bit manipulation addressing.
There are three types of bit manipulation addressing. The table below lists the bits manipulated by each
addressing.
Addressing
Specifiable peripheral hardware
fmem.bit
RBE/MBE/IST1, IST0/IE
Port 0 to port 6
pmem.@L
Port 0 and port 4
@H+mem.bit
All the peripheral hardware (bit-
manipulatable)
: 0, 1, 2, 4, BT, T0, TPG, CSI0, KS, W
MB = MBE• MBS
Specifiable bit address range
FB0H to FBFH
/IRQ
FF0H to FFFH
FC0H to FFFH
All the bits of the memory bank specified by
MB (bit-manipulatable)
PD75238
151