Data in a 32 bit code section



Two questions.
Thanks.


Can Win32 apps have and use data in the code section ?

Thanks.

..DATA

..CODE

Start:

jmp short ready
;mark db "start",0
number dw 8

ready:

mov cx,word ptr [number]

invoke ExitProcess, 0

END Start

Question 2

Tracers interpret programs, rather than passing them straight to DOS
for
execution, some programs may exhibit slightly different behaviour
when
analysed than when executed. This is unfortunately unavoidable.

When a new file is loaded, the PC interrupt vector table
is copied into memory. All subsequent reads and writes to the first
1024 bytes
of RAM (vector table) are then redirected to the TRACER copy of the
interrupt
vector table. This allows programs to think they have changed an
interrupt
vector, but at the same time retains security by not changing the real
vector.

Anyone used one of these in a cmd window in XP ?
Do they still work.

.



Relevant Pages

  • Re: Data in a 32 bit code section
    ... Can Win32 apps have and use data in the code section? ... Tracers interpret programs, rather than passing them straight to DOS ... execution, some programs may exhibit slightly different behaviour ... When a new file is loaded, the PC interrupt vector table ...
    (alt.lang.asm)
  • Re: Release of RosAsm V.2.025a
    ... the execution of the program depends upon factors _EXTERNAL_ to ... (generates an interrupt, runs interrupt code that wouldn't otherwise ... But, yet, the order the icons appear is completely arbitrary...and this ... then you'll find simple "choas theory" screws up all practicalities ...
    (alt.lang.asm)
  • Re: Randomness from Wi-Fi background noise
    ... strengthen Satam's lunch in respect of worrys, it will here interrupt the ... execution. ...
    (sci.crypt)
  • Re: porting code from VRTX on 68K to vxWorks on pentium
    ... use a high res timer counter (that runs without interrupt) to save ... And how many interrupts occurred during execution of the code. ... How are you doing these timings? ... 10 volts at the top of the task loops and 0 volts at the bottom of the ...
    (comp.os.vxworks)
  • Re: Worst case execution time problem
    ... execution time can be calculated or measured. ... timer interrupt, and a watchdog for the interrupt. ... In the second case, each state machine runs ...
    (comp.arch.embedded)