| ??? 07/04/02 07:59 Read: times |
#25274 - RE: 4 bit address/4 bit data bus on an 8051 |
José Félix Díaz Ivorra wrote: ------------------------------- Call Robot ; increases the counter and combines with 00100000b and put it in Px Robot: inc count mov a,count cjne a,#16,lbl1 mov count,#0 lbl1: ; Combination mov a,counter orl a,#00100000b mov Px,a ret -------------- why not: clr a mov p2,#00100000b loop: orl p2,a inc a jnb acc.4,loop ret or if infinite loop is ok: clr a mov p2,#00100000b loop: orl p2,a inc a anl a,#0fh jmp loop |
| Topic | Author | Date |
| 4 bit address/4 bit data bus on an 8051 | 01/01/70 00:00 | |
| RE: 4 bit address/4 bit data bus on an 8051 | 01/01/70 00:00 | |
| RE: 4 bit address/4 bit data bus on an 8051 | 01/01/70 00:00 | |
| RE: 4 bit address/4 bit data bus on an 8 | 01/01/70 00:00 | |
| RE: 4 bit address/4 bit data bus on an 8051 | 01/01/70 00:00 | |
| RE: pranav | 01/01/70 00:00 | |
| RE: pranav | 01/01/70 00:00 | |
| RE: pranav | 01/01/70 00:00 | |
| RE: pranav | 01/01/70 00:00 | |
| RE: pranav | 01/01/70 00:00 | |
| RE: peter,rob,andy | 01/01/70 00:00 | |
| RE: 4 bit address/4 bit data bus on an 8051 | 01/01/70 00:00 | |
| RE: Felix | 01/01/70 00:00 | |
| RE: 4 bit address/4 bit data bus on an 8051 | 01/01/70 00:00 | |
RE: 4 bit address/4 bit data bus on an 8 | 01/01/70 00:00 |



