| ??? 05/02/05 16:38 Read: times |
#92735 - Which Way? Responding to: ???'s previous message |
Russell Bull said:
;assume strobe is '0'
; A has the value 0..15 to output to the 4514 mov c,a.0 mov p0.0,c mov c,a.1 mov p0.1,c mov c,a.2 mov p0.2,c mov c,a.3 mov p0.3,c ;copy the lower 4 bits to the output port setb strobe clr strobe ;update the 4514 latch ; job done This is certainly the safest way to set four bits on P0, but is it the fastest? How about ANL P0,#F0H ; set P0.0 - P0.3 L AND A,#0F ; mask off LS 4 bits of data ORL P0,A ; set PO LS bits Ian |
| Topic | Author | Date |
| Software When Using Decoder | 01/01/70 00:00 | |
| Decoder s/w | 01/01/70 00:00 | |
| What About This 3-to-8 Decoder? | 01/01/70 00:00 | |
| More decoders | 01/01/70 00:00 | |
| Further Explanation | 01/01/70 00:00 | |
| Which Way? | 01/01/70 00:00 | |
| Good! | 01/01/70 00:00 | |
| No hack involved | 01/01/70 00:00 | |
| Read Modify Write | 01/01/70 00:00 | |
| I stand corrected | 01/01/70 00:00 | |
| How would you call it then? | 01/01/70 00:00 | |
| SUPERSUB | 01/01/70 00:00 | |
| An Example! | 01/01/70 00:00 | |
| no doubt | 01/01/70 00:00 | |
| electronic ecology | 01/01/70 00:00 | |
| Further Explanation | 01/01/70 00:00 | |
| Further to Further explanation | 01/01/70 00:00 | |
Thanks Again Russell! | 01/01/70 00:00 |



