ASM-to-Hex code reference

Discussion in 'Engineering & Reverse Engineering' started by Ambil, Jul 20, 2005.

  1. Ambil

    Ambil

    I want that heinous hedgehog hammered! Member
    893
    0
    0
    Spain
    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
     
  2. Qjimbo

    Qjimbo

    Your friendly neighbourhood lemming. Oldbie
    Oooo pretty colours! Nice referance Ambil! Hopefully this'll secure your way back into membership :thumbsup:
     
  3. Sonic Hachelle-Bee

    Sonic Hachelle-Bee

    Flying in the Ocean Wind Tech Member
    729
    0
    16
    Lyon, France
    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:
     
  4. Kles

    Kles

    Member Member
    It's about damn time someone did that.
     
  5. drx

    drx

    mfw Researcher
    2,193
    4
    18
    :rolleyes:
    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. redhotsonic

    redhotsonic

    Also known as RHS Tech Member
    1,584
    0
    0
    United Kingdom
    YouTuber
    Nice work Ambil. No use for me though
     
  7. Icy Guy

    Icy Guy

    Hedgehog. Sonic the Hedgehog. Member
    777
    0
    0
    California
    GoldenEye 007 level hack
    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. Ambil

    Ambil

    I want that heinous hedgehog hammered! Member
    893
    0
    0
    Spain
    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. :(

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

    Tweaker

    Misfits
    12,389
    0
    0
    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. Lostgame

    Lostgame

    resident geek girl + record label manager Oldbie
    4,032
    0
    16
    Toronto, ON
    The O.I.C.
    Hey, sweet. I can use this in Crackers.
     
  11. Ambil

    Ambil

    I want that heinous hedgehog hammered! Member
    893
    0
    0
    Spain
    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.
     
  12. Lostgame

    Lostgame

    resident geek girl + record label manager Oldbie
    4,032
    0
    16
    Toronto, ON
    The O.I.C.
    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. Aurochs

    Aurochs

    Единый, могучий Советский Союз! Tech Member
    2,343
    0
    0
    Whatever catches my fancy
    The MC68K PRM includes all the opcodes for every instruction, in binary. I don't need this. :P
     
  14. Ambil

    Ambil

    I want that heinous hedgehog hammered! Member
    893
    0
    0
    Spain
    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. Ambil

    Ambil

    I want that heinous hedgehog hammered! Member
    893
    0
    0
    Spain
    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.
     
  16. Tweaker

    Tweaker

    Misfits
    12,389
    0
    0
    I just saw the new update... Could you make a list of changes please?
     
  17. Ambil

    Ambil

    I want that heinous hedgehog hammered! Member
    893
    0
    0
    Spain
    Changes... I have added most of the instructions remaining, such as those "bit operations". More examples have been added to the most used instructions (such as move, add, and the logical operations). To finish with, I corrected a few typos.

    Next version will include descriptions for each instruction and example.
     
  18. Tweaker

    Tweaker

    Misfits
    12,389
    0
    0
    Cool, that'll really be good for me. Keep up the good work! ^_^
     
  19. drx

    drx

    mfw Researcher
    2,193
    4
    18
    :rolleyes:
    Ambil, you can't use Passive mode for Cult's FTP (PASV). You have to use PORT command.
     
  20. Ambil

    Ambil

    I want that heinous hedgehog hammered! Member
    893
    0
    0
    Spain
    The ASM to Hex code reference is now available at the wiki, on its version 1.0. I must thank Scarred Sun, and all the interest she has shown in my document.

    Sadly, I am sorry for not having a backup of version 1.1 (of which I posted here). And my website in Hacking Cult was offline since long ago, so I couldn't retrieve version 1.1, not even in the Internet Archive.