home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 16 / amigaformatcd16.iso / -in_the_mag- / emulation / dragon32 / asa_examples / ex2 < prev    next >
Text File  |  1997-06-12  |  243b  |  17 lines

  1.  
  2.     ; An example of 6809e code
  3.     ; By S.Goodwin 1996
  4.  
  5.     ; Write all 256 characters to the screen
  6.  
  7. start:
  8.     lda    #0        ; set up 1st character
  9.     ldx    #1024        ; start of screen
  10. loop:
  11.     sta    ,x+        ; store character, inc X
  12.     inca            ; increment A
  13.     bne    loop
  14.  
  15.     rts
  16.  
  17.