unknown@ucscb.UCSC.EDU (The Unknown User) (11/08/90)
In article <2247@unsvax.NEVADA.EDU> alfter@uns-helios.uucp (SCOTT ALFTER) writes: >Funny that you should make this recommendation...it reminded me of a >feature of the MicroSPARC Assembler, which is what I use for ML work >on my IIe. It came with a macro library to cross-assemble for the >8080. It also has a Sweet-16 cross-assembler macro set. > >Now here's a question: do you think a macro set could be made for an >8-bit assembler to cross-assemble 65816 code? It's something to think >about. :-) (Not that I'd have any immediate use for it, though.) This is off the subject (which is why I changed the subject), but it reminded me of something.. In my computer design class (in which we make a computer), we have to use a cross-assembler on IBM PCs to cross assemble OUR instruction set to our opcodes (so we don't have to write an assembler)... Well, I was looking around in the included instruction table files, and I found 65C02 and 65816! I'm not that surprised to see the 65c02 there, but I was very surprised to see the 65816 there. In books that I see different CPUs mentioned I sometimes look up the 6502 and 65816. I sometimes see the 6502 and basically never see the 65816. So this surprised me. {As an aside to an aside, in the little display window at the CE/CIS board office, they have the Z80 and 8088 and 68000 (I think about the latter) but no 6502! JEEZ! They also show vaccuum tubes, and a few other things like the Sony disk mechanism and a few early hard drive mechanisms.. But no Apple II stuff at all! sucks} The example file they include for assembly is from page 355 of the book 65816/65802 Assembly Language Programming by Michael Fischer ISBM 0-07-881235-6. The program multiples 2 multiple precision unsigned values in 16 bit and binary mode. multiplier & multiplicand have a max value of 4096 words and result is 8192 words max. I just thought it was cool that the 65816 was included already. (Of course, if it were not, I could just write a cross assembler file.. YEAH RIGHT! So I can use an IBM to compile 65816 stuff?!) -- /Apple II(GS) Forever! unknown@ucscb.ucsc.edu MAIL ME FOR INFO ABOUT CHEAP CDs\ \"If cartoons were meant for adults, they'd be on in prime time."-Lisa Simpson/