python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
How to write output with buffer in assembly
I have the following code
.model small
.stack 100h
.data
msg db 10, 13, "Introduce string: $"
bufferSize db 21 ; 20 char + RETURN
inputLength db 0 ; numarul de caractere citi...
JustAsking
Votes: 0
Answers: 0
How to work with variables in assembly x86
So i have to multiply 'a' by a number of 'b' times and I tried to do it like this. I also took some procedures from other questions I found.
.MODEL SMALL
.DATA
a db 3, 4 dup (0)
b db 3, 4 dup (0) ;Wi...
David Pupaza
Votes: 0
Answers: 1
How to raise a number to a power in assembly x86
So i have two variables a and b and I need to raise a to the power b in assembly code.
I know I can do this by multiplying a by b times in a loop (it only needs to work on 16 bits) but I dont know how...
David Pupaza
Votes: 0
Answers: 0
assembly-time evaluation of floating-point expressions
I am currently familiarizing myself with the possibilities of Turbo Assembler 2.0; I was
happy to find out that float constants can be specified as follows.
SomeVariable dd 72.0; corresponds to 042900...

Codor
Votes: 0
Answers: 1