![]() |
| Register | Login | |||||
|
Main
| Memberlist
| Active users
| Calendar
| Chat
| Online users Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album |
|
| | |||
| 0 users currently in SMW Hacking. |
| Acmlm's Board - I3 Archive - SMW Hacking - Need ASM info |
New poll | | ![]() |
| Add to favorites | Next newer thread | Next older thread |
| User | Post | ||
|
cory21391 Red Cheep-cheep Since: 04-21-06 From: North Carolina Last post: 5965 days Last view: 5965 days |
| ||
I copied all the info from the ASM thread (Glyph's thread) and I noticed that some of the opcodes are in 3 letter form (ex. LDA) but I'm using a hex editor. As are all the opcodes in the 65816ref.hlp file. I don't like using txt files and compilers. So, is there a list anywhere of all (or most) of the opcodes in hex format and a description (what the opcode IS and what it basically does.) Thanks in advance; trying to learn asm here. BTW, the opcodes that are in hex are only like 3 or 4; so that's not much to work with ![]() |
|||
|
Ice Man Panser Since: 11-18-05 From: Germany Last post: 6006 days Last view: 5943 days |
| ||
| If you would read the 65816ref.hlp better, then you would know them.
It explains the opcodes and what they do + they're in hex on the right also. Here's an example:
These instructions loads a value from the operand to a register. LDA instruction loads to the accumulator; LDX instruction loads to X, LDY instructions loads to Y. |
|||
|
Goldensunboy Snifit Since: 12-30-05 From: Georgia Last post: 5912 days Last view: 5912 days |
| ||
| -LDA imm8/16 Will load the next one or two numbers into the accumulator, depending whether the accumulator is in 8-bit or 16-bit mode. (largest byte last)
-LDA abs will load a number from $7E0000-$7E1FFF RAM. It will load it from a different bank if the direct page number is changed. The address is largest-byte-last. -LDA long allows you to load a value from anywhere within RAM or ROM, largest byte last. -I'm not sure about the functions with (dp) in them, but it has something to do with the direct page. -A ",x" or ",y" is LDA indexed with X or Y. This is used when loading from tables, it adds whatever's on the X or Y register to the said place it's loading from. If it's loading, indexed with X, from $7E0300 (sprite OAM), and 8 is in X, it will load from $7E0308. Most of the same properties are shared by the STA, STX and STY instruction, too. (edited by Goldensunboy on 08-08-06 08:17 PM) |
|||
|
cory21391 Red Cheep-cheep Since: 04-21-06 From: North Carolina Last post: 5965 days Last view: 5965 days |
| ||
Sorry; I must've gotten confused Thanks, though. |
| Add to favorites | Next newer thread | Next older thread |
| Acmlm's Board - I3 Archive - SMW Hacking - Need ASM info |
| ![]() |