MC96FM204/FM214
April 7, 2016 Ver. 1.8
169
If you use input bit port for compare jump instruction, you have to copy the input port as internal paramet
er or carry bit and then use compare jump instruction.
bit tt;
while(1){
tt=P00;
if (tt==0){ P10=1;}
else {P10=0;}
P11^=1;
}
zzz:
MOV C,080.0 ; input port use internal parameter
MOV 020.0, C ; move
JB 020.0, xxx ; compare
SETB 088.0
SJMP yyy
xxx: CLR 088.0
yyy: MOV C,088.1
CPL C
MOV 088.1,C
SJMP zzz
Summary of Contents for MC96FM204
Page 17: ...MC96FM204 FM214 April 7 2016 Ver 1 8 17 4 Package Diagram Figure 4 1 20 Pin SOP Package ...
Page 18: ...MC96FM204 FM214 18 April 7 2016 Ver 1 8 Figure 4 2 20 Pin TSSOP Package ...
Page 19: ...MC96FM204 FM214 April 7 2016 Ver 1 8 19 Figure 4 3 16 Pin SOP Package ...
Page 20: ...MC96FM204 FM214 20 April 7 2016 Ver 1 8 Figure 4 4 16 Pin TSSOP Package ...