Questions tagged as 'assembly'

1
answer

Assembly and C ++ with Visual Studio 2015 and MASM x86 / 64

Good evening. I use Visual Studio 2015 and I usually program in assembly language via __asm , but I still have questions about how to use MASM to create code in assembly for x64. I need help getting started. How do I create assembly...
asked by 11.10.2016 / 07:31
1
answer

Array, delete value [closed]

Good afternoon, someone can get some hint for an exercise in which it is necessary to go through an array and if it finds a certain value, delete it from the array, this in assembly. Any tips?     
asked by 19.05.2016 / 17:27
2
answers

How to get the serial number or ID of a USB stick on the MS-DOS system?

I've tried using some tools to get hardware information in DOS, but they did not have source code for free use. I need a code solution that returns me the serial number or ID in the MS-DOS environment.     
asked by 14.03.2016 / 21:50
1
answer

While Loop in MIPS Assembly

Good morning guys, I'm new to assembly and I'm in need of a little help if possible. I need to translate the following code into assembly: // Sendo i,total e n os registradors $s1, $s2, $s3 i=0; total=0; while( i < n ) { total=total+X[i];...
asked by 18.04.2016 / 14:31
1
answer

Is it possible to include allegro in a Kernel made in C?

Study for some time the construction of Operating Systems with bootloader in Assembly and kernel in C, and recently I started to study allegro. Theoretically it is possible to include allegro to the kernel made in C, but I want to know in practi...
asked by 10.09.2015 / 02:28
1
answer

Why is the assembly assembler making a mistake?

I'm trying to learn Assembly. When compiling the following code in FASM it gives the illegal instruction error below section .data . When you remove this snippet and try to mount again, it gives the same error, only now in the section .te...
asked by 25.05.2015 / 05:40
1
answer

Specific element in an array in Assembly on the AVR

In the following section of code: ldi r16,255 out IO(DDRB),r16 ldi r30,1 subi r30,lo8(-(array)) sbci r31,hi8(-(array)) ld r24,Z out IO(PORTB),r24 Because there is an - (array) within bo...
asked by 26.08.2014 / 01:43
0
answers

What is that file created by the nasm when I "compile" it?

I compiled an assembly code in the nasm using "nasm.exe -f win64 program.asm -o program.o" and got more doubts than anything else. My intention in doing this simple program is to take a pure code, assembly, and make it executable and so pass...
asked by 07.12.2018 / 15:55
0
answers

How to execute ROL statement in Assembly inline?

Well, I have a problem with executing the instruction to scroll left in Assembly in a C code. All the sites I search show this way, but the compiler says there are many memory references to "ROL". I've tried to execute other instructions like MO...
asked by 24.11.2018 / 20:51
0
answers

Convert numbers to decimal in assembly8086

I'm trying to create an add-sum calculator in assembly8086 but I'm not able to convert the numbers to sums above 10, if I add 4 + 5 = 9 it works perfect now if I add 8 + 2 = 10 it did not display the result 10 instead displayed only two dot ":"....
asked by 21.11.2018 / 17:21