Questions tagged as 'assembly'

1
answer

Assembly and Architecture Compatibility

I have no experience with the assembly low-level language. What does it take to get the most out of cross platform with this language? I mean, if I focus only on AMD64 (x86-64) will I get compatibility with all current computers?     
asked by 29.06.2014 / 19:27
3
answers

Repetition loop in assembly

How can I do a repetition a certain number of times in assembly (in the MIPS )? Example in pseudocode, assuming that the variable registrador is a register that I want to receive all numbers from 1 to 6 (one at a time, obviously) va...
asked by 16.05.2017 / 20:59
2
answers

Execution of Instructions

I'm reading a book on Introduction to Computer Architecture. A section of the book reads as follows about the RISC interface of processors: "Each instruction typically takes a clock cycle." But the same book contains the following excerpt,...
asked by 25.11.2014 / 14:00
1
answer

How do I split into Assembly?

Good People, I'm new to assembly, I'm having trouble dividing. When I compile the program at the command line, this error appears Floating point exception . .section .data .global op1 .global op2 .global resultado .section .text .global...
asked by 18.10.2016 / 21:39
1
answer

How to Make a Chained List in Assembly?

I have a college job and need to do a linked list in assembly , I would like to know how to loop to insert all the elements in the list and keep them on . The list should contain the data of a broadcaster (name of the film, main actor, number...
asked by 29.04.2014 / 22:48
1
answer

How to compile this code in Assembly on Windows?

I was seeing a creation of a basic little window in Assembly that displays a message, I already installed the NASM compiler but the error to compile. .386 .MODEL FLAT, STDCALL INCLUDE windows.inc INCLUDE kernel32.inc INCLUDE user32.inc INC...
asked by 28.04.2015 / 23:19
3
answers

How to tell if a binary sum of unsigneds gave overflow?

If I have a sum of two unsigned numbers (1 byte each) in an assembly without carry flag, how can I tell if it overflowed? Edit: The architecture in question is Neander Solution: I found a way to do this. First check the most significant bi...
asked by 23.03.2017 / 19:32
1
answer

Problems with Assembly

I recently started studying Computer Architecture in which it is necessary to know this language. Because it is an assembly language (low-level language), I have not found any IDE so I can test the programs and perform the exercises. Is it...
asked by 19.10.2017 / 20:28
2
answers

How to use multiple languages in a single program?

I've seen that Google Chrome is done in Python, C ++ and Assembly and it came to mind, how to program using multiple languages in a SINGLE program?     
asked by 12.06.2016 / 18:48
1
answer

$ zero - What does it do and how does it work?

Good! I started to study at little assembly for MIPS. Can anyone explain to me how this line of code works, ld r4, A (r0), where r0 has the same meaning as $ zero? .data A: .word 10 B: .word 8 C: .word 0 .text main: ld r4,A(r0)...
asked by 27.03.2014 / 01:27