-
as seen on Stack Overflow
- Search for 'Stack Overflow'
How do I set up an Xcode project so that I can click Build and Go and it will assemble NASM assembly?
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I would like to set the video mode in a ASM kernel I'm working on to a video mode 1920x1080 or higher (or at least higher than the usual limit in VESA). Is there anyway to do that, and if so, provide sample code?
I'm using NASM to code the kernel.
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hello everybody,
I've got a question concerning nasm and its linkage to C++. I declare a litte test function as
extern "C" void __cdecl myTest( byte i1, byte i2, int stride, int *width );
and I call it like this:
byte i1 = 1, i2 = 2;
int stride = 3, width = 4;
myTest( i1, i2, stride, &width…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Is it possible to square a number stored in a register (say eax) without doing any multiplication (by using shifts, etc)? I will be squaring a 16-bit number in 32-bit assembly so overflow shouldn't be an issue. I am using NASM x86 assembly to create the program. Thanks in advance for your help.
>>> More
-
as seen on Geeks with Blogs
- Search for 'Geeks with Blogs'
Today I got to play with NASM. This is an assembler and disassembler that can be used to write 16-bit, 32-bit & 64-bit programs. Let me say upfront that the last time I looked at assembly code at any depth was when I was studying Computer Science in Pietermaritzburg – ten years ago – and we never…
>>> More