NASM Forum > Example Code

BASELIB: General Purpose Lib for Beginners

<< < (10/10)

stressful:
Excellent stuff, Gabriel! Keep it coming.

Thank you.

p/s I am taking notes on contributors.

stressful:
Btw, your modification to opsize is a bit off, especially if it has 0 size. But I got your point.


--- Code: ---    lbl1:
          ;nothing
    lbl2:

    ...
    push lbl1
    push lbl2
    call opsize
    call dumpreg  ;EAX returns incorrect value
--- End code ---

Hope to see more from you.
 

GabrielRavier:
Oops, sorry for the error

I also wanted to submit a new function, which checks for cpuid being available : https://pastebin.com/fR4knK95
64-bit version : https://pastebin.com/N5mxRwYe

stressful:
I am migrating my BASELIB/CPULIB project to Sourceforge now as the files are getting larger in size. You can download the updates and other goodies from either one of these;

1. Sourceforge baselibs project. Browse the files
2. Directly from my Google Drive

Good luck and enjoy your coding.

Navigation

[0] Message Index

[*] Previous page

Go to full version