The Azure Heights Forum


Post New Topic  New Poll  Post A Reply
my profile | search | faq | forum home
  next oldest topic   next newest topic
» The Azure Heights Forum   » Main Campus   » Sakaki Tower   » Just a small snippet of Assembly

UBBFriend: Email this page to someone!    
Author Topic: Just a small snippet of Assembly
jshadias
Farting Nudist
Member # 2710

Member Rated:
posted 07-11-2002 01:20 AM      Profile for jshadias   Author's Homepage     Send New Private Message      Edit/Delete Post  Reply With Quote 
Alright, I got a disassembler and now I can access Assembly code, but even with an explaining thimngy, I am completely clueless. Could someone just explain to me what this small bit of code is doing, exactly? If I have some small understanding of how this stuff works, then I can possibly figure out the other stuff. But I have to have something to start with.

Code starts off in the negatives.
-7322 FF:E166 [D,$7E], Y
-7730 FF:E168 BRK #$91
-7728 FF:E16A EOR [D,$0A],Y
-7726 FF:E16C PLA
-7724 FF:E16E XBA

It's only five lines, can someone please tell me what is going on here? This is from the Silver version.

- - - - -
What Nintendo doesn't want you to know
Uiru: "Now that we're all used to the rules, clauses and by-laws... what would happen to the metagame if every one of them were whipped away?"
GP-Chan: "id probably quit every battle, and not just every other battle."
ThumbsOfSteel: "Why, because they broke the rules?"

Registered: Mar 2002  |  IP: Logged
MK
is somewhat large.
Member # 1445

Member Rated:
posted 07-11-2002 01:59 AM      Profile for MK     Send New Private Message      Edit/Delete Post  Reply With Quote 
Ok, this is a question for Meowth346...
Registered: Jan 2001  |  IP: Logged
hanzou
Farting Nudist
Member # 1385

posted 07-11-2002 11:23 AM      Profile for hanzou   Author's Homepage     Send New Private Message      Edit/Delete Post  Reply With Quote 
quote:
Originally posted by jshadias:
Alright, I got a disassembler and now I can access Assembly code, but even with an explaining thimngy, I am completely clueless. Could someone just explain to me what this small bit of code is doing, exactly? If I have some small understanding of how this stuff works, then I can possibly figure out the other stuff. But I have to have something to start with.

Code starts off in the negatives.
-7322 FF:E166 [D,$7E], Y
-7730 FF:E168 BRK #$91
-7728 FF:E16A EOR [D,$0A],Y
-7726 FF:E16C PLA
-7724 FF:E16E XBA

It's only five lines, can someone please tell me what is going on here? This is from the Silver version.

Y? BRK? EOR? PLA? XBA? I don't recognize any of those, so perhaps your disassembler gives the assembly in a weird format or maybe the start of the ROM is always weird. Here's a guide that I have found helpful in understanding GameBoy assembly: http://www.devrs.com/gb/files/gbspec.txt

And yet it doesn't mention any of those instructions. For a disassembler, you might want to just use NO$GMB, since it is an disassembler, emulator, and debugger all in one. And people like Meowth346 use it.

- - - - -
-hanzou

Registered: Jan 2001  |  IP: Logged
dr.steelix
Farting Nudist
Member # 2734

Member Rated:
posted 07-11-2002 02:35 PM      Profile for dr.steelix     Send New Private Message      Edit/Delete Post  Reply With Quote 
That is hardly an assembly guide. I would call it a hardware specifics guide.
This is an assembly guide. And it seems that he used a wrong disassembler, probably for SNES, because he was talking about the ISDA disassembler in his other post and I found these instructions in a SNES assembly guide.

[ 07-11-2002, 02:37 PM: Message edited by: dr.steelix ]

- - - - -
i am sorry

From: Israel | Registered: Mar 2002  |  IP: Logged
jshadias
Farting Nudist
Member # 2710

Member Rated:
posted 07-11-2002 05:56 PM      Profile for jshadias   Author's Homepage     Send New Private Message      Edit/Delete Post  Reply With Quote 
I've bothered Meowth enough with that stuff... I didn't know I needed a GB disassembler, since the hex editors work for everything. That second guide actually seems somewhat understandable, at least it has zor, signifying it is an actual programming language. Anyways... KOFFING!

EDIT: Took me exactly ten seconds to figure out that ISDA was the only disassembler on Zophar. Anyone know of a good one?

[ 07-11-2002, 05:59 PM: Message edited by: jshadias ]

- - - - -
What Nintendo doesn't want you to know
Uiru: "Now that we're all used to the rules, clauses and by-laws... what would happen to the metagame if every one of them were whipped away?"
GP-Chan: "id probably quit every battle, and not just every other battle."
ThumbsOfSteel: "Why, because they broke the rules?"

Registered: Mar 2002  |  IP: Logged
hanzou
Farting Nudist
Member # 1385

posted 07-11-2002 06:31 PM      Profile for hanzou   Author's Homepage     Send New Private Message      Edit/Delete Post  Reply With Quote 
quote:
Originally posted by jshadias:
EDIT: Took me exactly ten seconds to figure out that ISDA was the only disassembler on Zophar. Anyone know of a good one?

Here are four disassemblers: http://www.devrs.com/gb/software.php#disass

I also just realized that Visual Boy Advance has a disassembler built into it (although it isn't working for me yet).

So now you have six options: NO$GMB, Visual Boy Advance, and the four disassemblers on devrs.com. However, are you really sure you need a disassembler?

- - - - -
-hanzou

Registered: Jan 2001  |  IP: Logged


All times are ET (US)  
Post New Topic  New Poll  Post A Reply Close Topic    Move Topic    Delete Topic next oldest topic   next newest topic
Printer-friendly view of this topic
Hop To:


Contact Us | Azure Heights Pokémon Laboratory

© 2000-2016, Maximum Penetration Industries.

Karpe Diem


The views and opinions expressed on this page are strictly those of the author(s). The contents and links have not been reviewed or approved by the University of Miami.