| ??? 12/04/02 19:02 Read: times |
#33773 - Rob, that is precisely what to do |
Initialize DPTR to the start of the array. Next, initialize one of the R registers (your choice) to the number of bytes to blast, in this case, 200. Next, load ACC with the value to set the memory to. Now you'll do a MOVX @DPTR,A, increment DPTR, and then a DJNZ RX,<begin of loop>
80xxx51 related tidbits: http://www.tigerprecision.com |
| Topic | Author | Date |
| Intialising arrays | 01/01/70 00:00 | |
| RE: Intialising arrays | 01/01/70 00:00 | |
| RE: Intialising arrays | 01/01/70 00:00 | |
| RE: Intialising arrays | 01/01/70 00:00 | |
| RE: Intialising arrays | 01/01/70 00:00 | |
| RE: Intialising arrays | 01/01/70 00:00 | |
| Or, inline assembler: | 01/01/70 00:00 | |
| RE: Or, inline assembler: | 01/01/70 00:00 | |
| RE: Or, inline assembler: | 01/01/70 00:00 | |
| Rob, that is precisely what to do | 01/01/70 00:00 | |
RE: Or, inline assembler: | 01/01/70 00:00 |



