[vcf-midatlantic] Woohoo!

Duane DBC1964 at cox.net
Sun Jul 30 19:49:08 EDT 2017


Evan,

If there is any interest, Ill do a demonstration of my 1219 cross assembler 
at VCF

ORG &O1000
ENTB TEXT_BUFF ; LOAD INDEX REGISTER WITH ADDRESS OF TEXT BUFFER
RJP TYPEAS ; RETURN JUMP TO  TYPE ASCII STRING ROUTINE
STOP &O40 ; STOP PROGRAM
>TEXT_BUFF AS HELLO WORLD FROM VCF ; BUILD ASCII BUFFER
END ;


PRODUCES:

TEST.PRG
                                 ORG &O1000
          001000 321003          ENTB TEXT_BUFF ; LOAD INDEX REGISTER WITH 
ADDRESS OF TEXT BUFFER
          001001 761016          RJP TYPEAS ; RETURN JUMP TO TYPE ASCII 
STRING ROUTINE
          001002 505640          STOP &O40 ; STOP PROGRAM
TEXT_BUFF 001003 110105          AS HE HELLO WORLD FROM VCF
          001004 114114          AS LL
          001005 117040          AS O
          001006 127117          AS WO
          001007 122114          AS RL
          001010 104040          AS D
          001011 106122          AS FR
          001012 117115          AS OM
          001013 040126          AS  V
          001014 103106          AS CF
          001015 440040          AS
TYPEAS    001016 000000          DATA 0 ; TYPE OUT SUBROUTINE GOES HERE

    LABEL TABLE

TEXT_BUFF     001003
TYPEAS        001016

The formatting got a  screwed pasting  into the email

Its not pretty but it beats hand assembly.


Duane

-----Original Message----- 
From: Evan Koblentz via vcf-midatlantic
Sent: Sunday, July 30, 2017 1:13 PM
To: Dan Roganti via vcf-midatlantic
Cc: Evan Koblentz
Subject: Re: [vcf-midatlantic] Woohoo!

> When you get more practice with this,
> I would suggest using a 6502 cross-assembler

Yup, that's the plan.


> about printing Text on the screen,
> There are many of these assemblers and cross-assemblers which have a
> feature called Macro's
> This is not specific to a computer platform, just the developer who wrote
> the code for the assembler

I understand what you're saying. However, as I learn, I want to be very
careful to avoid confusing stuff that's part of Apple 6502 assembly vs.
stuff that's part of any specific editor/assembler. I may not know the
difference at first.


> about what Mike said, definitely use comments

I know. 




More information about the vcf-midatlantic mailing list