879 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
2
votes
1
answer
111
views
Stuck on Second Stage Bootloader – Turbo C + TASM + DOSBox + QEMU Setup
I'm working on a retro programming project and running into trouble with my bootloader setup. I'm using:
Turbo Assembler 4.01 for the first-stage bootloader (x86 Assembly)
Turbo C 2.0 for the second-...
1
vote
1
answer
41
views
Where can I assemble my assembly file aside from TASM that supports .STACK
I am just following the book from my university to run this simple code I found as an example for my coding practice. I am new to assembly language.
The problem is that I only know how to assemble in ...
0
votes
0
answers
29
views
how do I make the string blinking using TASM? [duplicate]
image link: https://drive.google.com/file/d/1P695nlkTDUlbEpG1NfEgJjKCTTs34SKd/view?usp=sharing
1.) I have this code that has a name at the center when you run it, how can I make this name(or string) ...
1
vote
1
answer
32
views
Hour that I get from the system timer isn't printed out correctly. It's 3084 instead of an actual hour
I have another similar problem like the one in my previous question. I'm trying to print the current time (hour, minute, second) that I get from the system timer.
Minute and second are printed out ...
1
vote
0
answers
167
views
387 FPU instructions to load to stack not doing anything?
So I'm coding some stuff in assembly (TASM) for DOS with DOSBox (long story short: for our assembly course assignments the professor says we need to use an environment from the 90s for some reason, ...
0
votes
1
answer
61
views
Assembler delete word
I need help with assembler(TASM), and I need to change one problem.
When filling a buffer of 200 elements, I need to make a transition to entering a word for deletion, but it does not work, help
....
2
votes
1
answer
73
views
Can't print out 8-bit values of registers
I'm trying to print out current year (CX), month (DH), day (DL) and day of the week (AL) from system timer.
Year stored in CX is printed out correctly.
I tried to printout DH, DL and AL with ...
1
vote
1
answer
75
views
Problem with Reading Sector Number in Assembly - Output is Always the Same
I'm working on an assembly program that reads the drive number and sector number from the user and then attempts to read a block of data from the specified sector. The program works correctly when I ...
1
vote
1
answer
59
views
Assembler step-mode interrupt handler
I am writing a step-mode interrupt handler in x86 architecture assembler and can't figure out how to find and print out mov byte ptr [bx] and bx registers.
So far i have this and in theory it should ...
2
votes
2
answers
79
views
How to loop to take an input and print an array of struct
I am quite confused on how to loop through an array of struct to take an input and store it, afterwards print all of the inputs from the struct.
I have this code in which I manually access the index ...
1
vote
1
answer
64
views
Resident Program structure and logic
Using 8086 microprocesor and DOSBox.
This resident program is done with those 2 commands:
TASM.exe program.asm &
TLINK.exe /t program.obj
Why is it not working when I run another .exe which has to ...
2
votes
1
answer
48
views
Procedure for printing numbers doesn't work
I'm working with TASM (in DosBOX emulator).
I'm a beginner and I don't know much yet.
Below is my full code. The problem is that it prints out not just expected output (25 + 10 = 35 and 25 - 10 = 15) ...
0
votes
0
answers
62
views
Rename of a file do not work in Assembler
I would like to rename a file, but there is no error and my assembler code do not rename the file from ww.txt to ww2.txt. Why?
I made different tests with the @data handler or mov the ax into the dx ...
1
vote
1
answer
71
views
How to read more that 10 characters in assembly?
So I wrote a program where it shows a position of numbers in a line for example if I write abc123 it prints 4 5 6. My problem is the program I have written doesn't read more than 10 characters and ...
0
votes
1
answer
93
views
Accepting String and Displaying String in 8086 Assembly Programming
.model small
.stack 100h
.data
address_req1 DB 10, 13, " Enter Shipping Address (Line 1): $"
address_req2 DB 10, 13, " (Line 2): $&...