Random number generator causing divide overflows
I've been working on a 16-bit real-mode game for several months now, and I've had a custom random number generator written and tested for a good portion of that. It uses DOS interrupt 21h function 2Ch...
View Articleassembly
is there any instruction in assembly that can print exactly what no presen in dl reg on screen (not its ascii equivalent)like if dl=12then screen should display 12
View ArticleGaming EMU8086
Im trying to write a program for gaming. Anyone have sample games asm files to let me understand?
View Articledo you know a number system conversion code in C?
we need a code in C that converts binary to octal, decimal to hexadecimal and octal to hexadecimal..
View ArticleHow to write a tool for changing video mode under DOS?
Hi All,I never developed program by using Assmbly, but now I need a tool for changing video mode under dos. I know how to change video mode under dos by using debug.exe tool, it's very very simple.For...
View ArticleCOM port driver - is this possible?
I've interfaced with a COM port for RS-232 communication over a USB-RS-232 adapter cable and wondered if there was a way to make computer software to simulate this.We all know about software that acts...
View ArticleOutput AL to display?
Hi,I've been pulling my hair out for a few days now, and it's time for some professional help. I have to write a short assembly language program that takes one input from the keyboard (any single key),...
View Article8086 trainer problem
Hi!I wrote for a simple program for complementing the content of address 0300:0 and save it in address 0300:1.Here is my program OUTPUT 2500AD ORG 2000H MOV DX,0FFE6H MOV AX,82H OUT DX,ALNEXT:MOV...
View Articleasm assignment
Hi guys,I've been given an assignment that involves using asm and im completly lost as ive never come across this language before! The assignment involves reading a 1MB data array from memory,...
View Articlex86 instruction pointer help please!
Hi, I'm currently working on understanding the x86 assembly language. I am currently stuck on understanding this instruction:mov 0x28e89c (%rip), %eaxI know that rip is the instruction pointer that...
View ArticleSimple Calculator
Can i get source for a simple calculator (single digits) that:The program will prompt the user for the first number (0-9), followed by the operation ( + , - , * , / ), followed by the second number...
View ArticleFractional and Integer part
Hi to all!I'm writing an assembly program that at a certain point calculates a square root, then it has to verify if the result is an integer (i.e. 2.000) or a "true" floating point number (i.e....
View ArticleDefining an array under Dos debug
Hi,Is there any way of defining an array inside Dos debug ?I know you can code assembly language but how to define an array ?Thanks in advance.
View ArticleWorks in Vista ?
I would like to find out if this works in Vista.I noticed that it sometimes has to be run twice on the same file.Do I need a delay ?Thanks.; SHRED1.ASM Ver 1i B/W version ; (c) Copywrong 1996 - 2004;...
View Articlestring reverse.. help..
the prOgram is abOut inputting a string and then the result will be its reversed string..for example: insecurethe result must be "erucesni"i have my cOde belOw..help me...
View ArticleReading ram information?
i want to read ram information from a desired address. is it possible using emu8086 emulator? i know assebmly, but i don't know where to start reading RAM.
View ArticlePush and Pop
Here is a simple Question for an x86 Microprocessor in Assembly Code. When a [PUSH reg] command is executed does the Stack Pointer get Decremented before or after the [reg] gets added to the stack....
View ArticleBIOS 10h error
this program is working fine#include int main(){ union REGS regs; regs.h.ah = 0x00; regs.h.al = 0x13; int86(0x10,®s,®s); regs.h.ah = 0x0c; regs.h.al = 8; regs.x.cx = 50; regs.x.dx = 50;...
View ArticleWin98 OS Command.com is 93,880 bytes!
Can anyone tell me how the Windows 98'sCommand.com has been programmed, sincethe file size exceeds 64 kbytes.How can anyone compile the programwhich DATA and CODE > 64 kbytes inany compiler. If so...
View Article