Database
A database is a structured collection of records or data.
Forum Post

Re: 80188 interface with 2Mbit ROM

My first guess would be to use normal segment offset addresses to access the ROM, the segment address is turned into a 20-bit value by the processor and the 16-bit offset is added. 1234:0100 =...
Forum Post

Indirect Addressing (32-bit)

I'm still trying to get used to the newer processors after returning to assembly programming after a long hiatus. I had thought that 32-bit register indirect addressing (e.g., mov , eax) used a...
Forum Post

Re: Procedure length?

so I figured out if I pop the stack into ax at the very beginning of the procedure (the return pointer), move that value into a variable I have saved, then push it back, then at the end of the...
Forum Post

Re: How to Switch into Protected Mode

To switch to protected mode, you must be running in ring 0. Just set the correct bit in cr0: ;16 bit code... cli ; always disable interrupts mov eax, cr0 or eax, 1 mov cr0, eax...
Forum Post

REVERSING A STRING...

I'm new in assembly language. I have to come up with a complete TASM code for this problem: Code a program for the following requirements. Define NAME1 with the string "SalesClerk" and NAME2 with...
Forum Post

Re: Virtualize I/O In DOS

: I'm pretty dumb with this stuff, but it's always been something I've : wanted to play with too. Do IRC, the I/O access map is essentially : just a large bitfield inside the CPU, and this...
Forum Post

Re: Virtualize I/O In DOS

: : I'm pretty dumb with this stuff, but it's always been something I've : : wanted to play with too. Do IRC, the I/O access map is essentially : : just a large bitfield inside the CPU, and this...
Forum Post

Virtualize I/O In DOS

I/O dispatch table (see #02815) DI = size of client's code and data (size of DS segment which must be made available to I/O dispatch function in protected mode) Return: CF clear if...
Forum Post

Re: Floppy Direct IO

: ok, firstly yes i do want to write a floppy driver,and no i dont : have a memory access module. I have experience of C++, and i could : prob use my knowledge of that, the last site you gave me...
Forum Post

Re: How to deal with a local variable.

In the (online) book I use it is advised to save the value of ESP in EBP and use that register to reference local variables and parameters (if you are using functions) on the stack. The example in...
Forum Post

need help winXP wont allow my program to interface with ports

i badly need some help.... i have a program in visual c++ express edition..nd i am using an ASM inline assembly but winXP wont allow me to access the printer port..
Forum Post

Re: x86 Assembly question

I am not sure! I think it moves the stack pointer to 8 bytes back, which moves it back to the place where it was before the function call. That's why after returning from a function you cannot access...
Forum Post

Re: ASSUME

: Hi Guys; : i'm beginner in assembly & i have a question: : : we assign segment addresses to segment registers via ASSUME: : : ASSUME ds:DataSg, cs:CodeSg, ss:StkSg : : And then @ the...
Forum Post

Re: Learn assembly language...

: What I tried to say when the site was down, or something, was that you'll need the intell manuals. Registers are like your private variables that you can do whatever you want to with. 'Normal'...
Forum Post

Assembly Language Question Using Marie

I seem to be having a problem with solving a homework problem I have. Basically I have to write a program in Marie that does the same thing as this Psudo-code: array1 = {1, 3, 5, 7, 9}; //store...
Forum Post

Question on WinMain

Lets say this WinMain in C is long int _stdcall WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, INT CmdShow) I could access these parameters initially in my...
Forum Post

Re: adressing

: What kind of "index" are you talking about? Do you mean that RAM bytes are somehow organized into index which is used to navigate to the needed address quickly? I still don't understand. What do...
Forum Post

Re: I need help

When I compile this I get The type or namespace name 'OleDbCommand' could not be found (are you missing a using directive or an assembly reference?). Does anyone know how to fix this problem?...
Forum Post

Re: Vertical retrace in text mode

: As the last poster said, it will work under dos and it will work under win98 in a dosbox, i do not know about XP etc. : As i have used it in textmode for a simple timer, that worked fine. : :...
Forum Post

Re: Is there any assembly instruction to get the cpu operating frequen

: : Hi, : : Please let me know if there is an assembly instruction for pentium processors with which i should be able to get the operating frequency of processor. : I think the common way is to...
1 2 3 4  Next
 

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.