Most voted "nasm" questions
NASM (Netwide Assembler) is an open source assembler (or Assembler) program for 80x86 and x86-64 platforms. Use this tag to ask questions about this assembler. For general questions about automotive programming, use the tag: Assembly.
Learn more…7 questions
Sort by count of
-
2
votes0
answers192
viewsSegmentation Fault in Assembly
I’m new to Assembly and I’m having a little problem here in a college problem. section .data SYS_EXIT_PROGRAM equ 1 SYS_STANDARD_OUTPUT equ 1 SYS_STANDARD_INPUT equ 2 SYS_READ_FILE equ 3…
-
1
votes1
answer511
viewsProduct of nasm matrices
I have to make an algorithm that will multiply a matrix A by a matrix B and put the result into a third matrix. The matrices are square, of same size and will be passed by reference by another…
-
1
votes1
answer692
viewsReturn difference between higher and lower array value in Assembly
I am trying to make a code in Assembly with Arq. x86 using NASM. In this code I must return the difference between the highest value and the lowest value of an array, as below. However, when running…
-
1
votes0
answers98
viewsWhat is that nasm-created file when I "compile" it?
I compiled an Assembly code in nasm using "nasm.exe -f Win64 program.asm -the program. o" and got more doubts than anything. My intention in making this simple program is to take a pure code,…
-
1
votes1
answer191
viewsAssembly Intel/NASM error (invalid Combination of opcode and operands)
When assembling the code below, I am getting the error error: invalid combination of opcode and operands on lines 16, 26 and 28. SECTION .data maior: db 0 SECTION .text global retorna_numeros…
-
0
votes1
answer117
viewsNASM SEGMENTATION FAILURE
Code update: I followed the tips and tried to stop the loop in the update section. I’m still working on the segmentation failure, however. And I need to check this loop, I don’t think it’s quite…
-
0
votes0
answers13
viewsConditional deviation not working - Assembly
I went to write a little program in Assembly with the compiler NASM in Xubuntu, there is the code: section .data ;1 msg db "Olá" ;2 n1 db 10 ;3 n2 db 1 ;4 len equ $-msg ;5 ;6 section .text ;7 global…