I want to print the below set of datablock(s) in a different color other than the usual white text color which can be achieved by using another DOS interrupt (dx:string-address; ah,08H; int 21h).
Jan db " January$ " …
How can I fix the "relative jump out of range" error without inbetween jumps? Like stretching the jump range? I heard about something called long jump or something like that that uses 32-bit instead of the regular 16.
It was required to change the program from ".exe" in".com".
I removed the stack and data segments because i received errors about their existence.
I renamed the file in ".com".
But the program doesn't work now (it is displaying nothing). I…
:) I am struggling with a piece of assembly language, mostly the order in which my strings are printed. Here's what I have!!
.model small
.stack 100h
.DATA
;DISPLAYS
msgquestion db 13,10, "Addition or Subtraction?: $ "
msgfirst db 13,10, "Enter…
I've written an algorithm to simulate Booth's Algorithm using only Add, Sub, and Logical Operators and return a hexadecimal value. My Tasm compiler keeps throwing me these errors. When I try to omodify the code, it still doesn't work. Could someone…
I use TASM,
I am trying to input 2 number greater than 9 and calculate sum of this numbers and after print the numbersand the sum simply ;
like that :
Number1=109 Number2=90 sum=199
I want how to converted this number and how to calculate sum.
I…
I need to write names from keyboard and then display them, one on each line. They should be displayed with an index before of them. For example if I write the names elena and maria the should be displayed as 1.elena 2.maria
I tried adding a counter…
Could someone give me a little help? It must be done in TASM 1.4, dividing 2 numbers like 14:2== 7. I tried for a few hours with tutorials from youtube but them all dont work. Some are for microsoft visual studio, which I can't use cause i must make…
Im currently learning graphical programming in tasm using dosbox. Ive been using a bunch of loops to draw square blocks of pixels and its really hard. I want to know if theres a way to read an image and display it. I know how to read a txt file…
I must do a program in tasm which have to print a triangle on numbers like this:
input: n. Ex: n=4
output:
1
1 2
1 2 3
1 2 3 4
I've managed to make my program print this thing, but i also have to make it work with numbers between 0 and 255, not…
Good night, what's the simpliest way to receive a simple char as parameter in Assembly 16-BITS, and compares to test if is the right one? I'm for 2 days searching for examples of how to do it, but no one had worked for me... I tried that code from…
I have to write a program which is reading chars from a file, moving bits in every char and writing those changed chars to a new file in TASM.
I've written a program which is reading chars from a file and writing them to a new file, but I don't know…
I have my project due to tomorrow and I finished it but I still have some bugs which I can't seem to understand how to fix them. I have been sitting for a long time and I just don't know what to do. I will explain the code after.
*Note - This post…