News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

missing operator in expression

Started by Magnum, February 15, 2013, 12:04:33 PM

Previous topic - Next topic

Magnum

I don't know if 0 ch should be 0ch or something else. ??

error A2206: missing operator in expression

         mov esi, [esp +0 ch]; context pointer register
Take care,
                   Andy

Ubuntu-mate-18.04-desktop-amd64

http://www.goodnewsnetwork.org

dedndave

looks like a typo
0Ch sounds right
but, it may be they intended to put something else in there, too - lol
0ACh

hutch--

Does it look like it shoulfd have a number 12 in that location 12 = 0Ch ?

Gunther

Andy,

Quote from: Magnum on February 15, 2013, 12:04:33 PM
I don't know if 0 ch should be 0ch or something else. ??

error A2206: missing operator in expression

         mov esi, [esp +0 ch]; context pointer register

definitively: 0Ch (= 12 decimal)

Gunther
You have to know the facts before you can distort them.

Magnum

Hutch,

orig code had 0 ch, there was an unneeded space.

Code now works as intended.

Andy

I am going to find out what this is and what it does exactly.

It is part of an exception handler

assume esi: PTR CONTEXT
mov [esi]. regEip, offset continue

Take care,
                   Andy

Ubuntu-mate-18.04-desktop-amd64

http://www.goodnewsnetwork.org