A Central Processing Unit (CPU), or sometimes just called processor, is a description of a class of logic machines that can execute computer programs.
we need a code in C that converts binary to octal, decimal to hexadecimal and octal to hexadecimal.. :)
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....
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
Im trying to write a program for gaming. Anyone have sample games asm files to let me understand?
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...
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...
No instruction like that. You need to convert DL into text as described here, for example:
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
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?
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...
Thanks so much ^_^. I did it!
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)...
Right usually word = sizeof ( int) = 2 byte in x86 system
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...
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...
Dos interrupts 2h function can ouput a character to screen.
mov ah , 02h
mov dl , 'A'
On the other hand, we can directly "write" a character to screen....
This one is very good generator and it is short - easy to do in ASM (few minutes basically):
It will always begin with the same number, but you can use...
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...