Page 1 of 2 12 LastLast
Results 1 to 16 of 21

Thread: Good ASM resources?

  1. #1
    Hexus.net Troll Dougal's Avatar
    Join Date
    Jun 2005
    Location
    In your eyeball.
    Posts
    2,750
    Thanks
    0
    Thanked
    0 times in 0 posts

    Good ASM resources?

    Looking for x86 resources, I have the MIPS MicroProcessor Manual (that big old one with all the codes in it, not sure about the date on it though, so whether things have changed or not).

    Also wondering if people know much about x64 ASM?

    Mainly looking for good tutorials or someone thats knows their stuff and could help tutor me a bit?
    Quote Originally Posted by Errr...me
    I MSN offline people
    6014 3DMk 05

  2. #2
    Senior Member
    Join Date
    Jan 2005
    Location
    Manchester
    Posts
    2,899
    Thanks
    67
    Thanked
    180 times in 135 posts
    • Butcher's system
      • Motherboard:
      • MSI Z97 Gaming 3
      • CPU:
      • i7-4790K
      • Memory:
      • 8 GB Corsair 1866 MHz
      • Storage:
      • 120GB SSD, 240GB SSD, 2TB HDD
      • Graphics card(s):
      • MSI GTX 970
      • PSU:
      • Antec 650W
      • Case:
      • Big Black Cube!
      • Operating System:
      • Windows 7
    Well intel has docs online with the full instruction set in. They'll also send paper copies if you request them (or at least they used to).

    Tutorials and stuff, no idea.

  3. #3
    Moderator DavidM's Avatar
    Join Date
    Jan 2005
    Posts
    8,779
    Thanks
    800
    Thanked
    252 times in 234 posts

  4. #4
    Hexus.net Troll Dougal's Avatar
    Join Date
    Jun 2005
    Location
    In your eyeball.
    Posts
    2,750
    Thanks
    0
    Thanked
    0 times in 0 posts
    Cheers mort-uk!

    Thats the kinda stuff i'm looking for, now to find the "rough" intro
    Quote Originally Posted by Errr...me
    I MSN offline people
    6014 3DMk 05

  5. #5
    Moderator DavidM's Avatar
    Join Date
    Jan 2005
    Posts
    8,779
    Thanks
    800
    Thanked
    252 times in 234 posts
    No problem... I miss hard coding in assembly language.. wish I had the chance to dig out Zeus and my Rodney Zak's guides ...

  6. #6
    Hexus.net Troll Dougal's Avatar
    Join Date
    Jun 2005
    Location
    In your eyeball.
    Posts
    2,750
    Thanks
    0
    Thanked
    0 times in 0 posts
    Well, I'm starting to do Language Systems this year (the actual compile process) touched on some of the original Nokia ASM in POC last year.

    But a few years ago I was advised by Rare to study ASM and they advised me on the ref book i have.
    Quote Originally Posted by Errr...me
    I MSN offline people
    6014 3DMk 05

  7. #7
    Moderator DavidM's Avatar
    Join Date
    Jan 2005
    Posts
    8,779
    Thanks
    800
    Thanked
    252 times in 234 posts
    I'm glad Rare still use ASM ... wonder if their code is still as tricky to hack as in the old days?

  8. #8
    Senior Member
    Join Date
    Jan 2005
    Location
    Manchester
    Posts
    2,899
    Thanks
    67
    Thanked
    180 times in 135 posts
    • Butcher's system
      • Motherboard:
      • MSI Z97 Gaming 3
      • CPU:
      • i7-4790K
      • Memory:
      • 8 GB Corsair 1866 MHz
      • Storage:
      • 120GB SSD, 240GB SSD, 2TB HDD
      • Graphics card(s):
      • MSI GTX 970
      • PSU:
      • Antec 650W
      • Case:
      • Big Black Cube!
      • Operating System:
      • Windows 7
    Doubt it, people don't bother with much hack protection these days.

  9. #9
    Hexus.net Troll Dougal's Avatar
    Join Date
    Jun 2005
    Location
    In your eyeball.
    Posts
    2,750
    Thanks
    0
    Thanked
    0 times in 0 posts
    Not sure whether they still use ASM, I was asking them about R&D at the time, wasn't sure if I would goto Uni or not.

    This was when I was in year 9, so a good 5 or so years ago, when they were still developing for Nintendo.
    Quote Originally Posted by Errr...me
    I MSN offline people
    6014 3DMk 05

  10. #10
    Senior Member
    Join Date
    Jan 2005
    Location
    Manchester
    Posts
    2,899
    Thanks
    67
    Thanked
    180 times in 135 posts
    • Butcher's system
      • Motherboard:
      • MSI Z97 Gaming 3
      • CPU:
      • i7-4790K
      • Memory:
      • 8 GB Corsair 1866 MHz
      • Storage:
      • 120GB SSD, 240GB SSD, 2TB HDD
      • Graphics card(s):
      • MSI GTX 970
      • PSU:
      • Antec 650W
      • Case:
      • Big Black Cube!
      • Operating System:
      • Windows 7
    Not much asm in games these days outside of shaders and even they are moving to HLSL and the like now. Compilers are good enough that asm is rarely warranted.

  11. #11
    Moderator DavidM's Avatar
    Join Date
    Jan 2005
    Posts
    8,779
    Thanks
    800
    Thanked
    252 times in 234 posts
    It has to be a very good compiler to match truely optimised code...

  12. #12
    Senior Member
    Join Date
    Jan 2005
    Location
    Manchester
    Posts
    2,899
    Thanks
    67
    Thanked
    180 times in 135 posts
    • Butcher's system
      • Motherboard:
      • MSI Z97 Gaming 3
      • CPU:
      • i7-4790K
      • Memory:
      • 8 GB Corsair 1866 MHz
      • Storage:
      • 120GB SSD, 240GB SSD, 2TB HDD
      • Graphics card(s):
      • MSI GTX 970
      • PSU:
      • Antec 650W
      • Case:
      • Big Black Cube!
      • Operating System:
      • Windows 7
    Modern compilers are very good (if used correctly). To beat them you have to spend so long tuning the code it's not worth it in 99% of cases. You get far larger gains by working on your algorithms than by hand tuning a section of code to run 3 cycles quicker.

  13. #13
    Moderator DavidM's Avatar
    Join Date
    Jan 2005
    Posts
    8,779
    Thanks
    800
    Thanked
    252 times in 234 posts
    True.. a good set of lookup tables in the past resulted in as much speed as the best optimisation (although stack mis-use was also a great trick )

  14. #14
    Senior Member
    Join Date
    Jan 2005
    Location
    Manchester
    Posts
    2,899
    Thanks
    67
    Thanked
    180 times in 135 posts
    • Butcher's system
      • Motherboard:
      • MSI Z97 Gaming 3
      • CPU:
      • i7-4790K
      • Memory:
      • 8 GB Corsair 1866 MHz
      • Storage:
      • 120GB SSD, 240GB SSD, 2TB HDD
      • Graphics card(s):
      • MSI GTX 970
      • PSU:
      • Antec 650W
      • Case:
      • Big Black Cube!
      • Operating System:
      • Windows 7
    Problem these days is it's faster to do the calc than to pay for the memory access for a lookup table.

  15. #15
    Moderator DavidM's Avatar
    Join Date
    Jan 2005
    Posts
    8,779
    Thanks
    800
    Thanked
    252 times in 234 posts
    very true.. and newer cpus have all these fancy maths functions as standard

  16. #16
    Seething Cauldron of Hatred TheAnimus's Avatar
    Join Date
    Aug 2005
    Posts
    17,164
    Thanks
    803
    Thanked
    2,152 times in 1,408 posts
    Quote Originally Posted by mort-uk
    very true.. and newer cpus have all these fancy maths functions as standard
    Kinda true, but not always. Lookup tables are slower when you cross a segment thats not in level1 cache. Other than that they are very fast.

    But sometimes its quicker to use hardware maths functions, the classic issue with the P4, its hardware multiplication made it slower to use a barrel shift compared to the hardware multiplication.

    64bit asm hasn't got a whole lot of support yet, so its probably best to use masm32, and get to grips with 32bit assembly (macro assmebly is very powerful, you can even create IF statements in the macro language).
    (www.masm32.org)

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. GOOD BF 2 servers.
    By Nick in forum Gaming
    Replies: 12
    Last Post: 20-07-2005, 09:28 AM
  2. Need a good Team Co-Op style game for 2
    By Zak33 in forum Gaming
    Replies: 10
    Last Post: 06-08-2004, 11:31 AM
  3. good or no good idea?
    By mr_anderson187 in forum PC Hardware and Components
    Replies: 5
    Last Post: 17-06-2004, 12:20 AM
  4. yeeah im back but it not good at all thx to scan
    By bigjonnyauk in forum PC Hardware and Components
    Replies: 5
    Last Post: 22-05-2004, 01:59 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •