nasm
NASM - Relative Include Files
I want to 开发者_如何学Cinclude some files in the parent or sub directory of my source files. Is it possible with NASM?NASM has several ways how to include one file in another.[详细]
2023-03-11 22:09 分类:问答Assembling an ASM file into an EXE
I just started learning the assembly language programming few days ago. Now I have a problem assembling the asm file into an exe. I use NASM a开发者_Go百科s my assembler. This is the command I use to[详细]
2023-03-11 13:51 分类:问答Recursive Ackermann-Peter Function in x86 Assembly (NASM)
im trying to implement the recursive Ackermann-Peter-Function in x86 NASM-Assembly. The Function is defined as follows:[详细]
2023-03-10 11:59 分类:问答Return value of a C function to ASM
I\'m trying to call a function from within ASM. I know how to call it, but i\'m having trouble finding how to get the return val开发者_StackOverflowue of this function. An example follows:[详细]
2023-03-09 07:18 分类:问答Addressing memory data in 32 bit protected mode with nasm
So my book says i can define a table of words like so: table: dw \"13,37,99,99\" and that i can snatch values from the table by incrementing the index into the address of the table like so:[详细]
2023-03-08 09:05 分类:问答Why does this x86_64 assembly code does not work?
section .text global my_strlen my_strlen: xor rax, rax .LOOP: cmp BYTE[rdi+rax], 0 jne .LOOP inc rax ret I execute it with:[详细]
2023-03-07 17:01 分类:问答x86 Assembly: Loops!
Okay, long story short, I\'m learning assembly, and I\'m trying to make a loop print out the ascii characters \"0\" - \"9\".[详细]
2023-03-06 04:04 分类:问答gcc assembly output
I\'m wanting to look at the assembly output from a particular piece of code and generally I prefer reading nasm syntax compared to AT&T synta开发者_运维问答x. Is there a convenient way to get nasm[详细]
2023-03-05 19:31 分类:问答Writing / linking a flat binary using NASM + LD
I\'m creating my own \"toy\" OS, and I\'ve gotten to the point where I am trying to understand linking and executable formats - in particular I have a flat file binary format executable which I am loa[详细]
2023-03-05 16:15 分类:问答NASM: Dividing large number with small one
NASM manual says on DIV: For DIV r/m32, EDX:EAX is divided by the given operand; the quotient is stored in EAX and the remainder in EDX.[详细]
2023-03-04 20:33 分类:问答