Questions tagged as 'ensamblador'

1
answer

doubt operation of a data path [closed]

I have a question with exercise that I do not know where to start, it is an exercise of data path, and the statement asks to explain the functioning of the data path of the photo, I searched for videos on YouTube but delve into concepts that I d...
asked by 05.06.2017 / 04:51
3
answers

What is the use of the LEA in assembly?

This is what I read about LEA: Load the address of the source operand. Syntax : LEA destino, fuente The source operand must be located in memory, and its displacement is placed in the index or pointer record specified in destinatio...
asked by 22.07.2017 / 02:55
1
answer

How to create an autorun on a USB for windows 10?

I made a small program in C# , this I have it in a usb memory that saves the windows user of the pc where the usb is connected, but I want it to run every time I connect it to a pc with windows but that is transparent for the user, I was t...
asked by 26.11.2018 / 18:46
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
0
answers

How to save a value in a vector / array in assembly language?

Hi friends, I'm new here, I'm looking for help on How to save a value in a vector / array in assembly language ?, If someone knows something please help me with an example or some information, I've been stuck for hours.     
asked by 27.12.2018 / 05:02
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
1
answer

how to define the ports in Arduino from assembler language?

I am trying to learn Arduino programming in assembler, using as an Arduino UNO R3 board and based on the examples of this tutorial: link I have managed to assemble and record the blink of the first example, which lights an LED connected to...
asked by 03.05.2017 / 22:10
1
answer

Command duplicate word in assambler

I need help in Assambler , which makes the command DUP in this line APRI DW 2 DUP(5, -6)     
asked by 09.07.2018 / 12:05
1
answer

relocation R_X86_64_32S against

Hi, I am programming in assembler and when compiling it shows me the error of the title, this is all the error that generates me / usr / bin / ld: /tmp/ccbjmJPt.o: relocation R_X86_64_32S against '.data' can not be used when making a shared o...
asked by 08.08.2017 / 06:00