emu8086 Questions

2

Solved

Here I have tried something to print 10 to 0 decimal numbers in emu8086. .MODEL SMALL .STACK 100H .DATA NUM DB 58D .CODE MAIN PROC MOV AX,@DATA MOV DS,AX START: CMP NUM,48D JGE PRIN...
Needle asked 3/6, 2016 at 4:15

2

I am using assembly 8086emu and I need a numbers generator for 8 numbers. I tried to use this piece of code by @johnfound: RANDGEN: ; generate a rand no using the system time RANDSTART: MOV AH, 0...
Phyla asked 19/11, 2016 at 21:52

1

I just wanted to ask: why is it that when I write : MOV DL, [BX] it works, but when I write: MOV DL, [AX] it doesn't?
Pilate asked 25/6, 2019 at 17:42

1

Can anyone explain for me why the sign of the remainder is different in these cases? Is this an emulator bug or do real CPUs do this, too? 8 / -3 : quotient(AL) = -2 remainder(AH) = 2 -8 / 3 : q...
Mydriasis asked 29/12, 2018 at 3:37

1

Solved

Looking at the picture, on line 34 I had to write the word ptr for this to work, while on line 44 I didn't. Why is that? Can't the compiler know that 0020h is a word just like 0FF20h is a word? A...
Hideaway asked 18/4, 2018 at 22:43

1

Solved

I have a variable that is called average and in my DATASEG, it changes every time because the user enters a different input every time. What I want to do is to go to the graphics mode (VGA) and the...
Unshackle asked 6/2, 2018 at 17:20

2

I am new to assembly and would like to know how to write a program in EMU8086 that prints a different random number in every run of it. Is it possible to do it without using interrupts?
Stedt asked 2/12, 2017 at 10:52

1

Solved

Why doesn't the following code assign new value to a symbol X using Assignment Directive ( = ) in emu8086: .model small .data X = 8 .code .startup mov ax, @data mov ds, ax mov bx, X X = ...
Homosporous asked 28/11, 2017 at 15:6

3

I am trying to find if the CARRY flag is 1 or not, but I don't know how to check it. I wrote the below code, but I need some help for question marks I put in. LEA DX, MSG MOV AH, 09H INT 21H ...
Julejulee asked 26/12, 2016 at 19:46

3

Solved

I'm having trouble just making clear EQU directive in assembler (8086). abc EQU xyz Does EQU literally swaps abc when found in code with xyz, whatever xyz represents, value etc? i.e. Can i writ...
Jesher asked 31/10, 2016 at 16:26

3

Solved

Hello im trying to display the actual time hours/minutes/seconds this is my code sample: MOV AH, 2Ch INT 21h MOV AH, 0Eh MOV AL, CH INT 10h MOV AL, 3Ah INT 10h MOV AL, CL INT 10h MOV AL, 3Ah ...
Spall asked 10/5, 2016 at 5:16

2

Solved

I just started learning assembly language and I am already stuck on the part to "display the decimal values stored in a register on the screen". Im using the emu8086, any help would be appreciated!...
Hatband asked 13/12, 2015 at 18:7

2

Solved

I am trying to assign variable to register here is the code: ORG 100h var1 DB 10 ; var2 DB 20 ; MOV BX,var1 ; error : operands do not match: 16 bit register and 8 bit address RET END But i...
Wickham asked 27/11, 2015 at 14:25

1

Solved

I'm using emu8086. I've a question which tasked me to display what we see on seven segment displays after converting from its hexa inputs. I should input my data in hexa, if it matches the hexa inp...
Sherbet asked 1/10, 2014 at 16:6
1

© 2022 - 2024 — McMap. All rights reserved.