A86: Re: Problems with ti86asm.inc (was Free Willy!)


[Prev][Next][Index][Thread]

A86: Re: Problems with ti86asm.inc (was Free Willy!)



On Tue, 12 Aug 1997 MTNBIKE560@aol.com wrote:

> >Since the bit to set only accounts for three bits out of the two-byte 
> >opcode, the bits must be predefined so they can be shifted into place.  
> >Therefore, Set c, a is invalid, but set 1, a is a valid instruction.
> 
> this is really confusing.  l'm trying to assemble files using ti86asm.inc but
> for each instruction in that file it gives that error.  help!

Wow!  You got some email software that quotes!  Good job!

Anyway, to answer your question by asking another, what assembler are you
using?  You can't use the original ti86asm.inc file with TASM.  It uses a
couple different formats, one of which is this:

_clrLCD                          .equ            4A7Eh
_clrScrn                         .equ            4A82h
_putmap                          .equ            4A27h

I think it also accepts '=' for '.equ' and '$4A7E' for '4A7Eh'

Have fun.

--------
Dan Eble (mailto:eble@cis.ohio-state.edu)
         (http://www.cis.ohio-state.edu/~eble)




References: