• initializing variables

    From Paul Edwards@mutazilah@nospicedham.gmail.com to comp.lang.asm.x86 on Thu Nov 24 14:38:01 2022
    From Newsgroup: comp.lang.asm.x86

    I assume that this:

    .data

    banner db "PDPCLIB"
    __psp dd ?
    __envptr dd ?
    __osver dw ?


    says that the variables can be of any value at startup time,
    and that if I want to ensure that they are initialized to 0,
    I need to make them "0" instead of "?"?

    Thanks. Paul.

    --- Synchronet 3.21d-Linux NewsLink 1.2