Jump to content
IGNORED

how to LDA a binary number in Mac/65


Recommended Posts

Hi!

 

I want to do something like this:

 

LDA # 10001001

 

But... this fails.

 

Is this possible without the use of a Macro?

 

It is just lazyness of me: Sometimes I'm a bit in a hurry (or really just lazy) and I don't want to transfer the binary number into decimal or hexadecimal. Sometimes it is also more 'clear' when I could do an AND or EOR with the binary format in stead of a number.

 

Thanks

Marius

Link to comment
Share on other sites

Seems is not possible.. the manual only speaks about those mythical "hxnums":

 

hxnum - A hex number. It can be address or data.

Hex numbers are treated as unsigned integers.

 

dcnum - A positive number. Decimal numbers are

rounded to the nearest two byte unsigned

integer; 3.5 to 3.9 is rounded to 4 and

100.1 to 100.4 is rounded to 100.

 

http://www.mixinc.net/atari/mac65.htm

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...