Post subject: ASM for Idiots...
Former player
Joined: 9/20/2006
Posts: 287
Location: Singapore
Hey, I intend to learn some ASM to play around with some basic hacking... since there are so many coders around here, anyone can point me to a good website/tutorial where I can get more information? Hmmm, and are there any recommended tools that would be useful to me? Any help is appreciated :) thanks
Truncated wrote:
Truncated is the most fiendish instrument of torture ever devised to bedevil the days of man. -- xoinx
Joined: 3/31/2005
Posts: 148
Location: Colorado
There are a LOT of different assembly languages. x86, x86_64, MIPS, PARISC, POWER, NES, SNES, TI, etc. . . I'm in a assembly programming class now, and we're learning MIPS, but its not focused too much on the programming itself, and more machine organization, so I don't have too much help. I'd say try to narrow it down to what platform you want to use.
Do not try to bend the spoon, that's impossible. Instead only try to realize the truth. What Truth? There is nospoon. Then you will see it is not the spoon that changes, it is only yourself
Joined: 10/3/2005
Posts: 1332
It's simple- ASM isn't for idiots. :D Romhacking.net has all sorts of guides, ranging from beginner to advanced, for whichever processor(s) you're trying to learn.
Former player
Joined: 9/20/2006
Posts: 287
Location: Singapore
Dromisceius wrote:
It's simple- ASM isn't for idiots. :D Romhacking.net has all sorts of guides, ranging from beginner to advanced, for whichever processor(s) you're trying to learn.
Going there to take a look now... will check out the guides to see how it goes. Hope it's not as crazy as it sounds o.O
Truncated wrote:
Truncated is the most fiendish instrument of torture ever devised to bedevil the days of man. -- xoinx
Emulator Coder, Former player
Joined: 10/2/2005
Posts: 563
Location: Toronto, Ontario
If you're looking to gain a better understanding of how windows applications work, I found this book to be rather useful.
Joined: 6/6/2005
Posts: 17
Location: spring, tx
http://maven.smith.edu/~thiebaut/ArtOfAssembly/artofasm.html This book is too long to read. But it looks like it covers everything...I really have no idea, I've only managed to read the forward.
Joined: 3/31/2005
Posts: 148
Location: Colorado
that book sounds REALLY old. It's talking about shrinking progams to fit on floppy disks and refers to 32MB as a lot of RAM. I also started looking through the intro, but it seemed to be too outdated to be really worth my time. I agree there are some advantages to assembly, but especially with such well optimized compilers, and high performance computers, I don't think the performance increase for most applications is noticeable. That said, there isn't a C compiler for NES, that I know of, so if you want to write NES games, you'll need to learn assembly.
Do not try to bend the spoon, that's impossible. Instead only try to realize the truth. What Truth? There is nospoon. Then you will see it is not the spoon that changes, it is only yourself
Joined: 7/18/2006
Posts: 44
given what he's said here, i imagine he's trying to get documentation on X86 programming.
Player (81)
Joined: 3/11/2005
Posts: 352
Location: Oregon
Some things don't change. You wouldn't want to read a book that old on OOP but it looks like it'd be a great resource if you wanted to get into x86 assembly. You'd want to stop once it got into the more DOS-specific areas, but by that time you'd certainly know enough to get you some basic hacking skills. If you want to learn about ROM hacking, you'd do better with a source specific to your system of choice's CPU.
ideamagnate| .seen aqfaq <nothing happens> DK64_MASTER| .seen nesvideoagent * DK64_MASTER slaps forehead
Active player (312)
Joined: 2/28/2006
Posts: 2275
Location: Milky Way -> Earth -> Brazil
Dromiceius wrote:
It's simple- ASM isn't for idiots. :D
Actually, it's like you (the programmer) are a professor and you have to teach something to an extremely idiot student (the CPU). The main problem is that you must do that in his own idiot language...
"Genuine self-esteem, however, consists not of causeless feelings, but of certain knowledge about yourself. It rests on the conviction that you — by your choices, effort and actions — have made yourself into the kind of person able to deal with reality. It is the conviction — based on the evidence of your own volitional functioning — that you are fundamentally able to succeed in life and, therefore, are deserving of that success." - Onkar Ghate
Bisqwit wrote:
Drama, too long, didn't read, lol.
Senior Moderator
Joined: 8/4/2005
Posts: 5777
Location: Away
pirate_sephiroth wrote:
Actually, it's like you (the programmer) are a professor and you have to teach something to an extremely idiot student (the CPU). The main problem is that you must do that in his own idiot language...
Haven't seen a better explanation for years. :D
Warp wrote:
Edit: I think I understand now: It's my avatar, isn't it? It makes me look angry.
Active player (312)
Joined: 2/28/2006
Posts: 2275
Location: Milky Way -> Earth -> Brazil
This is an excelent place for books: (or should I say "source of e-books"?)
http://www.itebookhome.com/
"Genuine self-esteem, however, consists not of causeless feelings, but of certain knowledge about yourself. It rests on the conviction that you — by your choices, effort and actions — have made yourself into the kind of person able to deal with reality. It is the conviction — based on the evidence of your own volitional functioning — that you are fundamentally able to succeed in life and, therefore, are deserving of that success." - Onkar Ghate
Bisqwit wrote:
Drama, too long, didn't read, lol.
Joined: 10/3/2005
Posts: 1332
pirate_sephiroth wrote:
This is an excelent place for books:
Neat site. (It worked for me) It's illegal though, isn't it?
Editor, Player (69)
Joined: 6/22/2005
Posts: 1050
xoinx: What kind of assembly are you trying to learn, specifically?
Dustin wrote:
http://maven.smith.edu/~thiebaut/ArtOfAssembly/artofasm.html This book is too long to read. But it looks like it covers everything...I really have no idea, I've only managed to read the forward.
You can find probably find more recent versions here. Just check out the "Art of Assembly" link.
pirate_sephiroth wrote:
Actually, it's like you (the programmer) are a professor and you have to teach something to an extremely idiot student (the CPU). The main problem is that you must do that in his own idiot language...
I find assembly quite logical, actually. You have to do everything one step at a time, like a proof or something.
Current Projects: TAS: Wizards & Warriors III.
Former player
Joined: 9/20/2006
Posts: 287
Location: Singapore
Sorry for taking so long to reply. I think I am going to start with some basic assembly for windows, mainly for doing debugging work and stuff. If the language is quite alike to that of NES/SNES assembly, then I may carry on with rom hacking... Still, going to take a while before I get used to looking at all the code, deciphering what is going on in all the registers is confusing :S
Truncated wrote:
Truncated is the most fiendish instrument of torture ever devised to bedevil the days of man. -- xoinx
upthorn
He/Him
Emulator Coder, Active player (391)
Joined: 3/24/2006
Posts: 1802
Dacicus wrote:
pirate_sephiroth wrote:
Actually, it's like you (the programmer) are a professor and you have to teach something to an extremely idiot student (the CPU). The main problem is that you must do that in his own idiot language...
I find assembly quite logical, actually. You have to do everything one step at a time, like a proof or something.
That doesn't contradict P_S's statement at all. Actual idiots are quite often unable to take a statement non-literally. The difference between that and a computer, however, is that a computer will do only what you instruct it to, whereas an idiot will assume whatever has not been prohibited is allowed.
How fleeting are all human passions compared with the massive continuity of ducks.