P. 1
Programmanual

Programmanual

|Views: 39|Likes:
Published by neptuneknight

More info:

Published by: neptuneknight on Jan 25, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

11/13/2011

pdf

text

original

CLRLN performs the very straightforward task of clearing the output buffer, LINE, to blanks. It also
contains the global storage reserved for LINE.
Like the other utility routines, CLRLN saves and restores the status.

0575

0000

0576

0000

; LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL

0577

0000

;

0578

0000

; CLRLN

0579

0000

;

0580

0000

; CLEARS ‘LINE’ WITH BLANKS

0581

0000

;

0582

0000

; SAVES AND RESTORES MODE FLAGS

0583

0000

;

0584

0000

; LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL

0585

0000

;

0586

0000

0587

0000

0588

0000

CLRLN

START

0589

0000

08

PHP

0590

0001

C230

REP

#M+X

0591

0003

LONGA

ON

0592

0003

LONGI

ON

0593

0003

0594

0003

A9A0A0

LDA

#’ ‘

0595

0006

A24400

LDX

#68

0596

0009

0597

0009

9D1200

LOOP

STA

LINE,X

0598

000C

CA

DEX

0599

000D

CA

DEX

0600

000E

10F9

BPL

LOOP

0601

0010

28

PLP

0602

0011

60

RTS

0603

0012

0604

0012

0605

0012

LINE

ENTRY

0606

0012

A0A0A0A0

DC

70C’ ‘

0607

0058

8D00

DC

H’8D00’

0608

005A

END

Local Symbols

LINE

000012

LOOP

000009

The Western Design Center

249

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->