logs archiveIRC Archive / Undernet / #asm / 2006 / July / 11 / 1
spn
Hey Int3!
Are you okey?
Int3
lo spn
i am fine, n u ?
(Action) thinks
spn
I'm fine.
I watch the TV what happened in India, and I thought of you.
BoR0
Int3 :-D
spn
ed
Int3
lo BoR0
spn : yea, more then 100 feared dead. 7 blasts
it is EXE file
_exe
:_D :_D
BoR0
exe :-D
_exe
BoR0!
This channel has been pretty quiet lately.
         

BoR0
yeah
too bad. was quite a nice channel ;P
Int3
yea, all are doing meditation
_exe
(Action) is going to meditate with dead chicken.
Int3
lol
JaZy84
could someone assist me in a problem i'm having with embedded asm in cpp
Inode
what is the problem?
JaZy84
i get an error at mov eax, [esi]
it's gotta have something to due with my array but i'm not sure what
somplace i can post the cpp?
Inode
http://rafb.net/paste
JaZy84
http://rafb.net/paste/results/4VR4Uz11.html
Inode
what output do you get from the compiler?
JaZy84
it will compile fine, but when it runs.. i get a break/continue unhandled exception at that line with the *******
i do get 4 warnings
Unhandled exception at 0x004119cf in assn3.exe: 0xC0000005: Access violation reading location 0x00000006.
any ideas?
Inode
why..... mov esi, [ebp + 24] //Get n
instead of: mov esi, n
?
JaZy84
didn't think it was legal.
but that's right youc an use cpp vars right
Inode
well if it worked for NumArray, it should work for n
JaZy84
true
didn't even realize that :P
Inode
also
what is 'int &' ?
JaZy84
adress off
address*
your talking in my prototype?
Inode
yar
never seen that one before, in c at least
thought maybe it was meant to be an int ptr like 'int *'
JaZy84
kinda similar
could do it with ptr i guess too
ThFabba
<Inode> never seen that one before, in c at least << very right there, it's c++ :p
a reference... like passing a pointer but without having to use addressof and indirection operators
         

JaZy84
oh well i'll be back laters you guys
Blake_
Hello