Sonic and Sega Retro Message Board: ASM-to-Hex code reference - Sonic and Sega Retro Message Board

Jump to content

Hey there, Guest!  (Log In · Register) Help
  • 2 Pages +
  • 1
  • 2
    Locked
    Locked Forum

ASM-to-Hex code reference verson 1.0

#1 User is offline Ambil 

Posted 20 July 2005 - 08:41 AM

  • I want that heinous hedgehog hammered!
  • Posts: 893
  • Joined: 26-April 05
  • Gender:Male
  • Location:Spain
  • Wiki edits:88
Promises are debt, people, as I announced you a few days before, I am going to present you my assembly notes. I needed three weeks to learn all the Motorola 68000 assembly instructions (thanks drx for the guides) and read the Programming Manual downloaded form Eidolon's Inn.

In order to show you my improvements, I have made a table containing several useful examples of ASM commands and its translation to machine code, presenting you a guide that you hackers may found very useful.

ASM-TO-HEX CODE REFERENCE v 1.0

The examples included this table will clear your way to understanding and writing hex code in your projects.

Credits are given in the file. It surely has some glitches, so please contact me or post here if you have any comments about this project. Your contribution will be appreciated and merged to the existing table.

Thank you one more time for your interest,

~Ambil
This post has been edited by Ambil: 27 April 2008 - 05:45 PM

#2 User is offline Qjimbo 

Posted 20 July 2005 - 08:48 AM

  • Your friendly neighbourhood lemming.
  • Posts: 4385
  • Joined: 17-February 03
  • Gender:Male
  • Location:Vancouver, BC
  • Wiki edits:69
Oooo pretty colours! Nice referance Ambil! Hopefully this'll secure your way back into membership :thumbsup:

#3 User is offline Sonic Hachelle-Bee 

Posted 20 July 2005 - 09:48 AM

  • Lost in Wood zone
  • Posts: 720
  • Joined: 03-March 04
  • Gender:Male
  • Location:Paris, France
  • Project:Sonic 2 Long Version
Quite nice really!
Unfortunately, there is a lot of things missing again, such as indirect addressing, with or without displacement, with or without index, or again some opcodes like the bset, bclr or btst.

Can I take it, correct it, update it, and then save it in the SCHG?

EDIT: I'm asking because there is no doubt for me for your admission. :thumbsup:
This post has been edited by Sonic Hachelle-Bee: 20 July 2005 - 09:50 AM

#4 User is offline Kles 

Posted 20 July 2005 - 10:32 AM

  • Posts: 2460
  • Joined: 14-March 04
  • Gender:Male
  • Location:Ontario
  • Wiki edits:5
It's about damn time someone did that.

#5 User is offline drx 

Posted 20 July 2005 - 12:21 PM

  • <Shade> fuck MJ
  • Posts: 2156
  • Joined: 02-March 04
  • Gender:Male
  • Project::rolleyes:
  • Wiki edits:8
Holy shit. Nice stuff you've got there. If you want, I can host you on Hacking CulT or SHB can host you on SCHG =)

#6 User is offline redhotsonic 

Posted 20 July 2005 - 03:16 PM

  • Also known as RHS
  • Posts: 1492
  • Joined: 31-January 05
  • Gender:Male
  • Location:United Kingdom
  • Project:Sonic Bash!
  • Wiki edits:24
Nice work Ambil. No use for me though

#7 User is offline Icy Guy 

Posted 20 July 2005 - 06:51 PM

  • Hedgehog. Sonic the Hedgehog.
  • Posts: 777
  • Joined: 23-November 03
  • Gender:Male
  • Location:California
  • Project:GoldenEye 007 level hack
  • Wiki edits:2
Very nice, and useful, too. As SHB pointed out, there are still some things missing, but I'd have to say you've created what could eventually be the comprehensive ASM/hex reference. (Short of the official 68K documention, of course.) It's easy to read, and the color system is a nice touch.

#8 User is offline Ambil 

Posted 21 July 2005 - 09:29 AM

  • I want that heinous hedgehog hammered!
  • Posts: 893
  • Joined: 26-April 05
  • Gender:Male
  • Location:Spain
  • Wiki edits:88
Glad to see you again folks. Nice you liked it. I managed overnights studying and writing notes to present you the guide. To sume up, I made this reference for you hackers.

Take it if you want, but remember to present it to me when you have contributed. The guide is yours. :(

Sonic Hachelle-Bee said:

I'm asking because there is no doubt for me for your admission.


I cried on emotion when I read this line. :lol:

#9 User is offline Tweaker 

Posted 28 July 2005 - 02:55 PM

  • Posts: 12389
  • Joined: 27-June 04
  • Gender:Male
I like this. I really like this. Now I see what all the fuss is about.

I'll be using this, thankfully. It's easier when you know how to do everything in both ASM and machine code. A thumbs up for you.

#10 User is offline Lostgame 

Posted 28 July 2005 - 05:33 PM

  • 'There are feathers everywhere, but it's fine...'
  • Posts: 3995
  • Joined: 02-December 03
  • Gender:Male
  • Location:Toronto, ON
  • Project:the love orchestra
  • Wiki edits:2
Hey, sweet. I can use this in Crackers.

#11 User is offline Ambil 

Posted 17 August 2005 - 09:28 AM

  • I want that heinous hedgehog hammered!
  • Posts: 893
  • Joined: 26-April 05
  • Gender:Male
  • Location:Spain
  • Wiki edits:88
I'm going to bump this topic because I know there is a group of people still interested in machine code. The table may get improved and I will contribute myself with those instructions I didn't post in my previous edition, and of course it would be an excellent idea to host it in any brand website. Hacking CulT is back and I have my own space in it.

I'm sure that the guide can be updated with the cooperation of our members and get well completed to be archived and remembered.
This post has been edited by Ambil: 18 August 2005 - 09:03 AM

#12 User is offline Lostgame 

Posted 17 August 2005 - 10:49 AM

  • 'There are feathers everywhere, but it's fine...'
  • Posts: 3995
  • Joined: 02-December 03
  • Gender:Male
  • Location:Toronto, ON
  • Project:the love orchestra
  • Wiki edits:2

Quote

I'm going to bump this topic because I know there is a group of people still interested in machine code. The table may get improved and I will contribute myself with those instructions I didn't post in my previous edition, and of course it would be an excellent idea to host it in any brand website, e.g. the Inormation Treasury.

I'm sure that the guide can be updated with the cooperation of our members and get well completed to be archived and remembered.


Hmm... I'd like this actually to be stickied, Simon. I think other people do, too... it's a pain to have to search for it, and it's eventually gonna get locked, which would be terrible.

And ambil, you rock. (Just reminding you)

#13 User is offline Aurochs 

Posted 17 August 2005 - 10:51 AM

  • Единый, могучий Советский Союз!
  • Posts: 2343
  • Joined: 09-January 05
  • Gender:Male
  • Project:Whatever catches my fancy
  • Wiki edits:325
The MC68K PRM includes all the opcodes for every instruction, in binary. I don't need this. :P

#14 User is offline Ambil 

Posted 20 August 2005 - 10:37 PM

  • I want that heinous hedgehog hammered!
  • Posts: 893
  • Joined: 26-April 05
  • Gender:Male
  • Location:Spain
  • Wiki edits:88
All instructions of my reference have been taken from the Motorola 68000 Programmer's Manual. What I give you is just a synthesis of that compilation of commands.

#15 User is offline Ambil 

Posted 25 August 2005 - 01:30 PM

  • I want that heinous hedgehog hammered!
  • Posts: 893
  • Joined: 26-April 05
  • Gender:Male
  • Location:Spain
  • Wiki edits:88
Double post for me. I have finished version 1.1 of the reference, including almost all instructions. Just click the link in the first post.

I have problems connecting to Hacking-CulT FTP server, so I uploaed it temporarily to my blogsite.

That's about it. If you have any questions or found typos in the guide, post them here.

  • 2 Pages +
  • 1
  • 2
    Locked
    Locked Forum

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users