!lm12
!rm75
!pr1
Hitachi 6301 Cross Support.................Bob Sander-Cederlof

As you probably know, we have a growing line of cross assemblers available.  You can use your Apple as a development system without ever learning another editor/assembler/operating-system, on any of ten or more different chips.

It all started back in 1980 when Nigel Nathan paid me to create a 6801 cross assembler based on version 4.0 of the S-C Assembler II.  Later Bob Urschel bought a copy.  Back then we thought $300 a copy was a pretty good price.

All our competition in this field seems to agree.  Avocet charges $200 or more per cross assembler.  Byte magazine carries several ads showing prices for cross assemblers between $395 and $1000 apiece.  Our assemblers are just as good, and many of you tell us ours are easier to use and more powerful.  But we charge either $32.50 or $50 apiece, after you own the $80 S-C Macro Assembler.

Until very recently, the 6800/1/2 Macro Cross Assembler came with only one version on the disk.  This one version assembled all of the opcodes of the 6801 chip.  If you were programming for a 6800, which did not support all of those opcodes and addressing modes, it was a little dangerous.  Last month we upgraded this disk by making two versions:  one for 6800 only, and one for 6801.

Now I have added a third version for the Hitachi 6301.  The 6301 is a CMOS chip, includes all the opcodes of the 6801, and adds six more:

       XGDX    Exchange D and X
       SLP     Sleep (reduced power mode)
       AIM     And Immediate into Memory
       OIM     Or Immediate into Memory
       EIM     Exclusive Or Immediate into Memory
       TIM     Test Memory Immediate

The last four each have two addressing modes.  You can write "AIM #val,addr" or "AIM #val,addr,X".  In both modes the address is only 8 bits.  You can see that AIM lets you clear any bits in a memory byte; OIM lets you set any bits in a byte; EIM lets you toggle any bits; and TIM lets you test any bits.  TIM forms the logical product (AND) of the memory byte and the immediate value, and tests for sign and zero.

The 6301 includes extensive memory mapped I/O on the chip, mapped into the zero page.  With these "xIM" opcodes you have an extremely powerful I/O capability.

If you have the older disk of the 6800/1/2 cross assembler, and want to upgrade to get the 6301 version, send $5.
