Page 1 of 1

Where can I learn more about using Assembly inside PB?

Posted: Fri Jan 07, 2011 5:44 am
by Nituvious
I want to start learning more about assembly(I know a few things, mostly just register names etc) and how I can go about using it inside of PureBasic. Are there any resources available for it specifically in PB? If not what would you guys suggest I read from? I've looked at and downloaded FASM, but the assembly does not seem to mix well with PB. But that's because I'm dumb :mrgreen:

Re: Where can I learn more about using Assembly inside PB?

Posted: Fri Jan 07, 2011 7:40 pm
by blueznl
I can only help a little here... Dunno much about assembly, but at least it shows a bit how to enter things in PureBasic...

http://www.xs4all.nl/~bluez/purebasic/p ... 10.htm#top

Re: Where can I learn more about using Assembly inside PB?

Posted: Sun Jan 09, 2011 9:37 pm
by bosker
FASM is a good choice because that's what PB outputs.
Try using the /COMMENTED flag when you compile a program in PB and the Purebasic.asm file
will be left in your directory to have a look at. It can be quite instructive.

There's a bunch of assembler links here...
http://www.cheapersunglasses.com/asm.html
.. yes, really. :-)
The Intel x64 and IA32 SW Developers' manual is available here...
http://www.intel.com/assets/pdf/manual/253666.pdf
There's also the Architecture manual...
http://www.intel.com/Assets/pdf/manual/253667.pdf
WARNING - these are LARGE documents.

I added some simple assembler / data stuff to another thread yesterday - see...
http://www.purebasic.fr/english/viewtop ... 13&t=44484

Good luck with your assembler adventure. :-)