Questions tagged as 'nasm'

1
answer

Segmentation fault in Assembler 8086 NASM SASM?

A program written in assembly language 8086 with SASM is throwing me an error of "Program received signal SIGSEGV, SEGMENTATION FAULT" when executing it I attach the code %include "io.inc" section .data vector db 1,2,3,4,5,6,7,8,1,2,3,4,5...
asked by 19.11.2018 / 11:46
1
answer

How to make a hello world in assembler Nasm in windows?

I would like to know how to make a hello world in nasm with the Windows 8 64-bit operating system. Or should I change to Tasm?     
asked by 23.09.2016 / 20:17
1
answer

Why does my program print garbage?

I have the following code: [bits 16] segment .text global start start: lea si,[msg] call caracter mov ah,4Ch ; end the program int 21 caracter: mov al,[si] cmp al,0 jz endprint inc si mov ah,0Eh...
asked by 20.05.2017 / 11:18
1
answer

Segment violation in Nasm with Debian

I did this Hello world with Nasm .. and I'm trying to call C functions by libc .. but the program throws me "segment violation" ; Filename:libc.nasm ; author:me extern printf extern exit global main section .text main: push m...
asked by 04.07.2017 / 01:31
1
answer

Could someone help me with this program in nasm?

When I try to read from the keyboard a number of 2 digits and then try to print that number again on the screen it does not return the same value, but if I define the number myself if it works, what am I doing wrong? segment .data segment .bss...
asked by 29.05.2018 / 12:57
0
answers

Voltage Light Sensor Assembler

I'm doing a home automation project with an UNO arduino and I have to use a light sensor, however since in assembly there is no analogRead function () I have to program it, I already read the documentation of avr and atmel about the ADC, the MUX...
asked by 25.05.2018 / 06:47