Re: [stella] Ruffin Bailey's Disassembly of missile.bin

Subject: Re: [stella] Ruffin Bailey's Disassembly of missile.bin
From: Glenn Saunders <cybpunks2@xxxxxxxxxxxxx>
Date: Tue, 25 Jun 2002 23:03:16 -0700
At 10:17 PM 6/24/2002 -0400, you wrote:

The "#" tells the assembler than the operand is an actual piece of data,
not an address.  This is the "immediate" addressing mode.  The "$" tells
the assembler that the operand is a hexadecimal value.  Leaving it out
tells the assembler that is is a decimal value.  So in the case of 0-9,
they are the same with or without the "$".  But things get crazy if you
type "#80" (meaning 80 hex = 128 decimal) and the compiler assumes
80 decimal.  The default varies of course with the assembler used, but
you get the idea.

What makes this confusing to me is that # is the hex symbol in HTML.



---------------------------------------------------------------------------------------------- Archives (includes files) at http://www.biglist.com/lists/stella/archives/ Unsub & more at http://www.biglist.com/lists/stella/


Current Thread