Re: Real mode int from protected mode and back



Great... I can use the dos memory block to pass the parameters...
Can ES:EDI pointer to registers structure be null? And what do you
mean by zeroing any unused registers? You mean zero them all and then
rewrite ax and dx (the needed registers) again?
Thanks

.



Relevant Pages

  • Re: Why do you like C more than other programming languages?
    ... technique for its nested functions, I think you are correct here. ... registers", the first N parameters (for some machine-dependent ... left with a pointer to a function taking the remaining two arguments; ... The trampoline is a neat idea (who ...
    (comp.lang.c)
  • Re: memset all bits to zero will let float/double to zero?
    ... could, and arguably should, use all-bits-zero for the null pointer. ... that handling a trap is relatively expensive. ... the data registers, not the address registers, so they'll work ...
    (comp.lang.c)
  • Re: MASM 6/7 issue
    ... BP Base Pointer - Pointer to base address ... SP Stack Pointer - Pointer to top of stack ... EAX Accumulator ... Indirect Memory Operands with 16-Bit Registers ...
    (comp.lang.asm.x86)
  • Re: Developing/compiling software
    ... Memories of legacy 8051 hw platforms, multiple code banks, not enough common area and hard work trying to ensure that all the correct data appeared in the selected bank at the right time suggests that there must be a better way. ... You only need to use such tricks for braindead architectures like the 8051, where you have a hopeless stack and almost no registers, and thus need to pass data via globals or extra structs. ... What I said about pointers to structs is that the AVR has two pointer registers that work well with structs - Y and Z. ...
    (comp.arch.embedded)
  • Re: Need Help Declaring a Pointer to an Array of Structures
    ... the OP defined a structure that maps onto a hardware ... of such registers, on a machine that has memory-mapped hardware ... it is just a plain old "pointer to char". ... points to an array -- or more precisely, ...
    (comp.lang.c)