Database
A database is a structured collection of records or data.
Language
Assembly
Remove
Platform
Any
License
Any
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 =...
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...
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...
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...
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...
: 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...
: : 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...
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...
: 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...
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...
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..
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...
: 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...
:
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'...
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...
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...
: 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...
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?...
: 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.
:
:...
: : 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...