| ??? 10/15/01 11:13 Read: times |
#15687 - loops |
I have just started self studying mc8051 and this is a very basic question. I have written a code (see below) but i am having trouble modifying it. Can you have a look?
.equ rsput,0042h .equ rsget,044h .org 2000h loop: Icall rsget ;read a byte Icall rsget ;writes a byte sjmp loops ;loops forever .end How would you modify this so 4x4square asterisk is printed on the screen, but were do i get ASC11 value for* to put into A register. How would you prompt size size of a square then print square of stars e.g. >6 ****** ****** ****** ****** ****** ****** Ifear you might think this is homework when i am too old to go to school.Thanks |
| Topic | Author | Date |
| loops | 01/01/70 00:00 | |
| RE: loops | 01/01/70 00:00 | |
| RE: loops | 01/01/70 00:00 | |
| RE: loops | 01/01/70 00:00 | |
RE: loops | 01/01/70 00:00 |



