#34 Access violation in module nbc.exe

compiler
closed-fixed
NBC (24)
5
2014-08-22
2007-09-05
No

The following program causes the compiler (version 1.0.1.b32) print the following error:

# Error: Access violation at address 00440739 in module 'nbc.exe'. Write of address 0000002C

The compiler then completes normally.

Here is the program:

----------------------------------accessvio.nbc
dseg segment
;k_sw4 sword
dseg ends

thread main
shr k_sw4, k_sw4, 2
endt
----------------------------------accessvio.nbc

Discussion

  • Pavel Petrovic

    Pavel Petrovic - 2007-09-07

    Logged In: YES
    user_id=9375
    Originator: YES

    and one more that is related:

    I would expect the following program to display 18 (0x12),
    but it displays 0:

    ---------------------------------------------------------
    dseg segment
    k_w4 word
    k_b1 byte
    dseg ends

    thread main
    set k_w4, 0x1234
    shr k_b1, k_w4, 8
    TextOutEx(0,50,"shr 0x1234,8",1)
    NumOutEx(0,30,k_b1,0)
    Wait(3000)
    endt
    ---------------------------------------------------------

    p.s. congratulations to your book announcement!

     
  • John Hansen

    John Hansen - 2009-01-18
    • status: open --> closed-fixed
     
  • John Hansen

    John Hansen - 2009-01-18

    This has been fixed in the current release.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks