Quantcast
Channel: x86 Assembly - Programmers Heaven
Browsing all 152 articles
Browse latest View live
↧

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 Article


assembly

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 Article


Gaming EMU8086

Im trying to write a program for gaming. Anyone have sample games asm files to let me understand?

View Article

Image may be NSFW.
Clik here to view.

do 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 Article

How 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 Article


COM 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 Article

Output 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 Article

8086 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 Article


asm 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 Article


Clear Screen

How do I clear the screen with out using MSDOS interupts?

View Article

x86 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 Article

Simple 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 Article

Fractional 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 Article


Defining 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 Article

Works 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 Article


string 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 Article

Reading 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 Article


Push 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 Article

BIOS 10h error

this program is working fine#include int main(){ union REGS regs; regs.h.ah = 0x00; regs.h.al = 0x13; int86(0x10,&regs,&regs); regs.h.ah = 0x0c; regs.h.al = 8; regs.x.cx = 50; regs.x.dx = 50;...

View Article

Win98 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
Browsing all 152 articles
Browse latest View live