Questions tagged as '8086'

1
answer

Memory Array

I'm doing an implementation of a game in assembly in < a href="https://www.labcenter.com/"> Proteus . I draw two random numbers from 1 to 99 and need to generate an image on the LCD for the numbers I generated. Example: If I generate nu...
asked by 24.06.2017 / 22:29
1
answer

MOD in assembly

I need to make a comparison to see if the X number is PAR or ODD. I store the number in the AX register. How do I know that AX content is even or odd? Note: I've stored a number from 1 to 99.     
asked by 27.06.2017 / 02:24
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
1
answer

Reading txt in Assembly i8086

I have the following code to read txt file: ; um programa que demonstra a criação de um arquivo e a ; leitura do mesmo .model small .stack .code start: mov ax,@data ; endereço de base do segmento de dados mov ds,ax ; é colocad...
asked by 01.06.2018 / 04:16
0
answers

Transfer values greater than 65536 for variable DD error - Assembly 8086

I'm having a hard time assigning values greater than 65536 (16 bits), in my code example I assign the value of 86400 (one-day value) to a variable with DD declaration (32-bit architecture), and the following error is displayed when trying to com...
asked by 12.12.2018 / 17:12