Questions tagged as 'assembly'

1
answer

How does it work and what is the syntax of the machine code? [closed]

I need to understand how machine code works, for example, statement statements and how it can become readable as Assembly, where I can see instruction as mov , "interpret". Additionally, why did they make these symbols? I do not know how t...
asked by 12.03.2016 / 17:29
1
answer

What does this assembly code do?

I'm playing with the Cheat Engine in a MMO RPG game. Following the game's values in RAM through the functions of the Cheat Engine, I found the memory addresses where the player's experience values are stored. Changing them does not work, and...
asked by 16.10.2015 / 23:06
2
answers

Compiling C for gross binary

How to compile a code in C down-level? (.bin, example). I am using the IDE Code :: Blocks, and the compiler minGW (I am in Windows, but if you know for Linux the commands are almost identical).     
asked by 16.10.2015 / 16:56
1
answer

Assign value to a variable in assembly 8086

I have the variable: simbolo db "0 $" and I also have the following function: read_keyboard: mov ah, 1 int 21h ret What is a simple interrupt that reads from the screen, and saves what was read in AH . My problem is: how do...
asked by 03.12.2016 / 06:34
2
answers

Blibiotecas Windows to use in Assembly

What libraries do I use to build a graphical Windows interface, and their respective functions? Example: I can import the msvcrt.dll library to use C functions. I have some experience in Assembly for low-level code, but not so much...
asked by 25.09.2016 / 17:26
1
answer

Return difference between major and minor array values in Assembly

I'm trying to make a code in assembly with arq. x86 using NASM. In this code I should return the difference between the highest value and lowest value of an array, as below. However, while rolling it is returning 14 for the example below a...
asked by 17.06.2018 / 21:52
1
answer

Can I run a .NET Native image directly?

I have compiled my executable in C # for a .NET Native image using ngen.exe , I have the location of the file, but when I run Windows it says that the executable is invalid. My goal was to make my application written in C # independent...
asked by 20.01.2018 / 21:10
1
answer

Is there a system call to read only one line of file in assembly 8086?

Type the fget of c, which sends to a variable all the characters of the line between the beginning of it and the carriage return character     
asked by 28.06.2017 / 09:49
1
answer

Implementation of the strcpy function of C in MIPS using the MARS simulator

Why does not the code below work?    Error in strcpy.asm line 9: Runtime exception at 0x00400014: fetch   address not aligned on word boundary 0x00000001 .text .globl main main: lw $a0, destino # Carrega o ponteiro destino par...
asked by 24.10.2016 / 20:42
1
answer

How to avoid buffer overflow in simple Assembly (nasm) application?

I'm wanting to avoid writing out of the application due to buffer overflow, but I do not know how. The application is simple: it shows a message that prompts the user to type something, then takes that typed data and shows it on the screen. Howe...
asked by 05.02.2015 / 15:28