This is something I’ve been trying to figure out. I want to make a MASM program that has a custom struct and an array of those structs and then saves ...
This is something I’ve been trying to figure out. I want to make a MASM program that has a custom struct and an array of those structs and then saves ...
Are there any assembly directives to align specific stack data variables? For example, suppose a MASM function has these local variables with initial ...
I am using MASM in x64 Windows operating system. I wanted to call Windows APIs and then output some strings to the screen. I am learning x64 assembly ...
Guys this is a basic win32 program I found online so far I do get everything. what I don't get is those two lines: Can some one explain to me what ...
Recently came across the legacy 0x66 operand size override. Could it be used to align instructions without explicitly writing a single/multi-byte NOP ...
I am writing a basic ASM code using MASM & Irvine32. The code is that it takes input character wise, user enters how many characters he wants to e ...
Created an include file with this single externdef keyword num.inc Created an assembly file which defines a 10 byte array and includes num.inc nu ...
I have a problem to solve and I have no idea on how to go about it. I'm asking for a general idea on how to go about this. I have a memory address, in ...
Write and run a program that adds 5 bytes of data and saves the result. The data should be the following hex numbers: 25, 12, 15, IF, and 2B. Show the ...
My program is supposed to print the largest prime factor of a given number. Am I going in the right direction? As of right now the program just hangs ...
EXTERNDEF Defines one or more external variables, labels, or symbols called name whose type is type. Syntax EXTERNDEF name:type If name is de ...
I'm working on an assembly practice problem and I need to draw y=2x^2 on the screen using INT 10h. I have completed my code but it's giving me an erro ...
I want to read the largest number in the array. ...
Here are the simplified versions of my two files: macros.asm: main.asm: I get the errors when building: What I've tried: I have changed the ...
I am drawing bricks on masm 8086 assembly language and i wanted to know whether there is any instruction to return the pixel value of the screen. ...
Why did i have this problem in my asm program? "syntax error : db" in line 10 "syntax error : db" in line 11 I wanted to run my asm program, but i ...
Hi I have a question about multiplying register pairs. I have a register pair edx:eax and now I want to multiply it, in my case - by 10. Maximum value ...
My assignment for school is to loop through a sequence of characters in a string and swap them such that the end result is the original string in reve ...
I'm trying to get the hang of Assembly for class. So for this C code: *** Updated I tried this in Assembly: But I know that the pointers can't ...
int array_list[] = {10, 11, 13, 18, 21, 23, 24, 17, 45}; int array_size = sizeof array_list / sizeof sample; int index = 0; // index for while loop ...