Questions tagged as 'ensamblador'

1
answer

Problem when printing message in debug - Windows

I'm doing an assembly programming practice, about the Windows debug tool for 32 bits. The proposed exercise is as follows:    Beginning at the 012F Memory position design an algorithm that   show on the screen the following flow of chara...
asked by 01.04.2017 / 17:04
2
answers

Reverse word order in assembler text string

I have a problem with my assembly language project. I was asked to make a program where a string was requested (message) and after entering it, I will show this one in reverse (the last word of the string will be the first, without changing the...
asked by 18.05.2016 / 02:42
2
answers

Add two variables in MASM Assembler

I have a question about the sum in records for MASM Assembler TITLE Suma variables INCLUDE Irvine32.inc .data a dword 10000h b dword 40000h valorFinal dword ? .code main PROC mov eax,a ; empieza con 10000h add eax,b ; suma...
asked by 17.02.2016 / 17:38
0
answers

Print a floating point in an assembler NASM

I'm doing a small program for a University course, they asked us to calculate the Golden number and then print it on the screen, we already have the calculation, now the drawback is that we do not know how to get that number from the FPU...
asked by 13.04.2017 / 18:30
2
answers

I need to add two numbers of more than 255 bits in assembler

I know it's a very basic question, but I'm eating my head trying to figure out how it's done. I am using a Motorola 6800 with this emulator. I have two numbers, and their sum gives more than 255, I know I have to use ADC but I do not kno...
asked by 25.02.2018 / 00:55
1
answer

Where EBP records EDI ESI are used

I know that the EAX works as an accumulator and to call interruptions The ESP is used by push and pop instructions The ECX is used as a counter for loop But EBP, EDI, ESI do not know how they work, if they interact with an instruction l...
asked by 17.12.2016 / 02:20
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

Sum of a vector in MIPS (mars) [closed]

How could a program that allows the sum of the elements of a vector (A [] = {1,2,3,4,5,6,7}) of 7 elements which is in memory. And the result is stored in a variable and stored in memory.     
asked by 14.04.2018 / 18:23
1
answer

Assembly Loop Cycle, from 0 to 9?

Good, I have to do a cycle in assembly language from 1 to 10 that shows the numbers, I already have the cycle but I do not know how to make the interruption to show the numbers on the screen, the cycle is as follows: Assembly .model small...
asked by 01.10.2016 / 00:52
1
answer

Violation of segment with assembler x86-64

In this assembler program, it happens that when doing the commands to create the file .lst and .o I do not have any problem, only when loading the program with ./programa I get the message    segment violation ('core gene...
asked by 25.09.2016 / 04:05