[General] Beginner ASM guide

Discussion in 'Approved' started by redhotsonic, Aug 27, 2007.

Thread Status:
Not open for further replies.
  1. shobiz

    shobiz Well-Known Member Member

    Joined:
    Aug 11, 2007
    Messages:
    198
    Location:
    Karachi, Pakistan
    I posted this on the guide's talk page on the Retro wiki, but since I doubt it's gonna get seen there,

    Is that supposed to be a clr.l ($FFFFFF10).w or a move.l #4,($FFFFFF10).w? Either way, the answer you've given for the exercise comes out wrong.
     
  2. redhotsonic

    redhotsonic Also known as RHS Retired Staff

    Joined:
    Aug 10, 2007
    Messages:
    2,967
    Location:
    England
    I don't think it matters either way. As long as it's not part of the Special Key, I'm not too bothered. Good pointing out though.
     
  3. Thundertimi

    Thundertimi Well-Known Member Member

    Joined:
    Aug 10, 2007
    Messages:
    245
    Location:
    Too far...
    I have seen lot of asm guides, but this was easiest understand.


    I dont understand all, but thats just because my english sucks.
     
  4. Selbi

    Selbi Plug in, baby. Retired Staff

    Joined:
    Jul 20, 2008
    Messages:
    2,397
    Location:
    Northern Germany
    This Guide is nearly 2 Years old, but you should place the ASM coding in a ASM-Box.
     
  5. Qjimbo

    Qjimbo Well-Known Member Member

    Joined:
    Feb 27, 2008
    Messages:
    849
    Location:
    Vancouver, BC
    Done the ASM boxes, still some more formatting stuff left to do.
     
  6. Malevolence

    Malevolence Well-Known Member Member

    Joined:
    Jul 29, 2008
    Messages:
    96
    Just a small note, when I started learning assembly and looking at this guide this section always confused me. $FFFFFEB8 should actually be 01 05 01 01 after that second add (assuming the RAM was equal to 01 01 01 01 in the second addition, if it's 03 01 01 01 from the first command then it will be 03 05 01 01).
     
    Last edited by a moderator: Feb 5, 2009
  7. Qjimbo

    Qjimbo Well-Known Member Member

    Joined:
    Feb 27, 2008
    Messages:
    849
    Location:
    Vancouver, BC
    Good point, fixed.
     
  8. redhotsonic

    redhotsonic Also known as RHS Retired Staff

    Joined:
    Aug 10, 2007
    Messages:
    2,967
    Location:
    England
    Can I request this to be pinned? If not, dis-regard and just delete my post.
     
  9. Oerg866

    Oerg866 Well-Known Member Member

    Joined:
    Aug 29, 2008
    Messages:
    299
    Location:
    Frankfurt, Germany
    . Trash .
     
    Last edited by a moderator: May 1, 2011
  10. Spanner

    Spanner The Tool Administrator

    Joined:
    Aug 9, 2007
    Messages:
    2,334
    You do realise that this guide was made a few years ago?
     
  11. Oerg866

    Oerg866 Well-Known Member Member

    Joined:
    Aug 29, 2008
    Messages:
    299
    Location:
    Frankfurt, Germany
    . Trash .
     
    Last edited by a moderator: May 1, 2011
  12. redhotsonic

    redhotsonic Also known as RHS Retired Staff

    Joined:
    Aug 10, 2007
    Messages:
    2,967
    Location:
    England
    I've been away for 3 years or more. To be totally honest, I don't even know any ASM anymore =P


    Although, all corrections are appreciated.


    Plus, I asked for it to be pinned because I thought it was a big thing.
     
    Last edited by a moderator: Apr 29, 2011
  13. MarkeyJester

    MarkeyJester ! % # @ Member

    Joined:
    Jun 27, 2009
    Messages:
    2,698
    Actually they can add/subtract values from 1 to 7, infact, they cannot add/subtract 0.

    Actually, that depends on the way you "perceive" it, an address or pointer have moderately same meanings, so to say that one is wrong and cannot be used to explain how something works, seems a little unjust.

    Again, that depends on the way you "perceive" it, Definition: directive, instruction.

    Well, it will crash the machine yes, only if the stack is at it's root though, which I think is irrelevant to this "beginner's" guide.

    It's a beginner's guide, it's designed to give people a starting boost, if we included more extensive explainations at an early part of the guide, then people will struggle to understand how to work with the processor. These things take time, and are irrelevant at this stage if you plan to teach someone without confusing them.

    It's a beginners guide.

    Well, please be sure to be subtle about the way you express correction, you sound arsey quite frankly, almost as if you were rubbing in that you knew so much more, considering that some of the information you gave was somewhat irrelevant. I'm sure some respect the fact that you're doing your best to help, but the way you did it was a bit patronising.


    That you for your input.
     
  14. Oerg866

    Oerg866 Well-Known Member Member

    Joined:
    Aug 29, 2008
    Messages:
    299
    Location:
    Frankfurt, Germany
    . Trash .
     
    Last edited by a moderator: May 1, 2011
  15. redhotsonic

    redhotsonic Also known as RHS Retired Staff

    Joined:
    Aug 10, 2007
    Messages:
    2,967
    Location:
    England
    It was a beginner's guide. I was a beginner when I started it. And I wrote it because at the time, drx's was the only ASM guide out there and I struggled to understand it.


    I did put this at the beginning:

    Although, like said, any bugs or incorrect stuff you do point out is greatly apreciated. :p
     
  16. Selbi

    Selbi Plug in, baby. Retired Staff

    Joined:
    Jul 20, 2008
    Messages:
    2,397
    Location:
    Northern Germany
    On one side I agree with Oerg, it really contains a lot of information, which doesn't really teach beginners in the right way or leading them to the right direction. On the other hand, it really is meant to be a beginner's guide and therefore more like "What are these commands doing at all?".


    That said, maybe a great revamp or simply making a complete new guide wouldn't hurt.


    BTW, changing the topic title to "[General] Beginner ASM Guide".
     
    Last edited by a moderator: Apr 30, 2011
  17. Oerg866

    Oerg866 Well-Known Member Member

    Joined:
    Aug 29, 2008
    Messages:
    299
    Location:
    Frankfurt, Germany
    Hello MarkeyJester,


    I got to know that you felt very offended by my above posts. I don't know exactly why, and I'm sure that you misunderstood some parts wrong, however I feel it is only appropriate that I speak out a public apology towards you as I have not meant to offend either RHS or you.


    Therefore I hereby revert my corrections to this guide.


    If you read this, rest assured that I very much respect you, and I hope you can look past it. I hope no hard feelings have evolved from this little incident.


    Have a nice day,


    Oerg866
     
  18. redhotsonic

    redhotsonic Also known as RHS Retired Staff

    Joined:
    Aug 10, 2007
    Messages:
    2,967
    Location:
    England
    I weren't offended at all. Like said, I like to recieve corrections =P
     
  19. RADEON360

    RADEON360 Newcomer Trialist

    Joined:
    Sep 8, 2011
    Messages:
    6
    Location:
    India
    To edit ASM, I only have to edit the .ASM file with a text editor right? (I honestly know nothing about hacking)


    I believe I am not bumping this thread because it is pinned. Please correct me If i am wrong.
     
  20. Crash

    Crash Well-Known Member Member

    Joined:
    Jul 15, 2010
    Messages:
    300
    Location:
    Australia
    Yes, that's right. Although I recommend using a better program than just notepad. Context is what I use.
     
Thread Status:
Not open for further replies.