Skip to main content

All Questions

Tagged with
-2 votes
1 answer
38 views

Code in assembly printing alphabets twice instead of next line. (emu8086)

My code in assembly emu 8086 displays alphabets in lower case but it displays them twice instead of displaying them in new line a single time each. Ive tried everything from AI etc but could not find ...
Moeez Ahmad's user avatar
2 votes
1 answer
50 views

Why does the code show only some white lines when you compiled it?

.MODEL SMALL .STACK 100h .DATA COLUMNA DW ? FILA DW ? AVANCEH DW ? AVANCEV DW ? .CODE DETENER_POR_TIEMPO PROC MOV CX, 2000h MOV DX, 2000h MOV BX, 2000h NOP RET DETENER_POR_TIEMPO ...
Betsy CamachoM's user avatar
2 votes
1 answer
83 views

Trying to understand object code for "MOV AX,BX", am I dumb or is the textbook bad?

EDIT: Based on the answers and comments, it appears both the book and I are correct. BUT IMHO the book did a poor job of explaining the example, I mean instead of something like "For this ...
retpoline's user avatar
1 vote
1 answer
31 views

The result of my assembly language code is 0 and there's an error on division

I tried to make calculator using assembly language, here is my code: .model small .stack 100h .data greeting db 'WELCOME TO YOUR CALCULATOR', 0Dh, 0Ah, '$' menu db '1 - ADDITION', 0Dh, 0Ah, '...
Gigi20's user avatar
  • 11
-1 votes
1 answer
35 views

Assembly Intel 8086 64-bits operands calculator

Please I need the full program of a calculator that calculates the sum, the subtraction, the multiplication, and the division of 2 operands 64 bits each. Because the registers in 8086 microprocessor ...
user25042064's user avatar
-1 votes
1 answer
47 views

Print more than one digit using jump only NOT allowed to use loops or stack

I am not allowed to use loop for print the sum, I have to use jump only .model small .stack 100h .data input_buffer1 db 10 DUP ('$') ; Define a buffer to store the first input string input_buffer2 ...
Hadeel AbdelJalil's user avatar
0 votes
1 answer
61 views

Something wrong with my assembly code for movie ticketing system

I have written the code for a movie ticketing system, and I have only implemented it for Action Movie 1 to test its functionality. When I run the code, everything goes well until I enter the quantity. ...
D Elisha's user avatar
1 vote
1 answer
47 views

How to print sprite in assembly language 8086?

I am trying to print a sprite in assembly language 8086. I have written the code but it does not display anything. .model small .stack 100h .data sprite DB 00h,00h,00h,00h,00h,00h,00h,00h,0Fh,00h,...
umaima hashmi's user avatar
0 votes
0 answers
19 views

How can I print countdown from 255 to 0 in assembly language in emu 8086? [duplicate]

It's my first time using assembly. This code functions correctly, but it outputs ASCII characters instead of the actual numbers. ; multi-segment executable file template. data segment ; add your ...
abdo - 570's user avatar
1 vote
0 answers
35 views

What exactly lea call does with SI register and a variable in data segment?

The problem is checking whether a substring exists in a string input by user. As I understand, in main proc, the program calls lea si, inputstring which means SI points the inputstring in data ...
Dương Nguyễn's user avatar
1 vote
1 answer
40 views

I cannot fix the error in the code? (EMU8086)

I was writing a number guessing game, but I keep getting an error in the mov al, 1h section on line 27. I tried mov ah, 1h. I tried mov ah, 01h and it failed again. .model small .stack 100h .data ...
Cemal Gürsel's user avatar
0 votes
0 answers
48 views

Decimal to IEEE754 single precision Conversion in emu8086 Assembly

I need to create a program in emu8086 that meets the following requirements: Program description: Write an assembly language program using the 8086 that converts a number from decimal format to its ...
Sergio Emiliano Hernndez Villa's user avatar
0 votes
0 answers
41 views

8086 Assembly program to Input and Print string Not Working

I am using emu8086 to write this program to input and print the string I have typed. When I run it It takes the input string but does not print it. Here is the code. .model small .stack 100h .data ...
Syed Aizaz's user avatar
1 vote
0 answers
208 views

Emu8086 emulator link for macOS

Does anybody know, how can I install emu8086 emulator, it's necessary for my processor lecture? I google it, but i can't find anything on the search. All links for windows, I have a MacBook so ...
CrystaL's user avatar
  • 11
0 votes
1 answer
31 views

Printing Failure for Municipality

This code is for input the name age and municipality. It can print out the age and more but the municipality cannot print out the value. .MODEL SMALL ORG 100h .DATA outmsg db 'Hello User $' ...
John Paulo Pascua's user avatar

15 30 50 per page
1
2 3 4 5
51