CPU
A Central Processing Unit (CPU), or sometimes just called processor, is a description of a class of logic machines that can execute computer programs.
Forum Post

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.. :)
Forum Post

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....
Forum Post

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...
Forum Post

Gaming EMU8086

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

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...
Forum Post

Classical Hangman Game

Hello, I'm a kind of newbee in assembly programming. I need a classical hangman game to understand the game building strategies in assembly language. It would be very nice if I can get some...
Forum Post

Re: assembly

No instruction like that. You need to convert DL into text as described here, for example: http://www.programmersheaven.com/mb/x86_asm/67893/67897/re-converting-number-to-string/?S=910000
Forum Post

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=12 then screen should display 12
Forum Post

Division of 2 signed integer numbers

hello, i have to write an assembler code for the 8051 microcontoller. the division of two signed int numbers (range -32768 to 32767). can someone post the code?
Forum Post

Re: Clear Screen

As far as I know, there is no way to legitimately exit a DOS program without issuing an INT 20h or INT 21h. The first two bytes of the PSP are always CDh 20h (the CPU Op Code for INT 20h), and...
Forum Post

Re: Clear Screen

Thanks so much ^_^. I did it!
Forum Post

Re: Random number generator causing divide overflows

Just some "random" (pun intended) thoughts here. There is a huge difference between "randomness" (in the mathematical sense) and "unpredictability". Most of the Random Number Generators (RNG's)...
Forum Post

Re: 095440

Right usually word = sizeof ( int) = 2 byte in x86 system
Forum Post

Re: Dos interrupts 2h function

Thanks a lot for your replies. I tried to trace into DOS interrupts, but failed. I think maybe trace flag is cleared immediately when we call "INT 21h". So I checked the interrupt vector of "INT...
Forum Post

Re: Dos interrupts 2h function

Directly writing is faster than INT 21h. However, INT 21h writes to a current video page and your direct code writes to page zero. So, if you need to directly write to a few pages at once - you need...
Forum Post

Dos interrupts 2h function

Hi, everyone! Dos interrupts 2h function can ouput a character to screen. mov ah , 02h mov dl , 'A' int 21h On the other hand, we can directly "write" a character to screen....
Forum Post

Re: Random number generator causing divide overflows

This one is very good generator and it is short - easy to do in ASM (few minutes basically): http://en.wikipedia.org/wiki/Xorshift It will always begin with the same number, but you can use...
Forum Post

Re: Random number generator causing divide overflows

Thanks for the reply. I discovered I was pulling the divisor out of an incomplete data table, one that I originally fleshed out with zeros. D'oh! I replaced all the relevant zeros with stand-in...
 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.