@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet


Comments:

<0> some1 alive ?
<0> oops :)
<1> oops? good. i almost thought you have **** for brain for asking this question the second time.
<1> TELL US WHAT THE **** YOU WANT AND NOT ASK POINTLESS QUESTIONS
<1> see topic, part one.
<1> so?
<2> haha
<3> q
<3> oops
<0> matrixADD 2 ; ROWS
<0> DD 3 ; COLS
<0> DD 1, 2, 3 ; 1st row



<0> DD 4, 5, 6 ; 2nd row
<0> how i can print the matrixA content ?
<3> anyone know if the data at 0x500..533 is written by the BIOS at any point, or just by DOS?
<0> guys i have this declaration:
<0> matrixA DD 2 ; ROWS
<0> DD 3 ; COLS
<0> DD 1, 2, 3 ; 1st row
<0> DD 4, 5, 6 ; 2nd row
<0> how i write a for-loop to print the matrix ?
<4> ***uming it's intel 80x86, use the LOOP or LOOPNZ instruction
<5> i love how people come on IRC asking you to write **** for them
<6> r0bby: yeah, i'm sick of it. anyway, dude, can you help me write some shellc0de?
<6> ;)
<2> its possible they just need a little demonstration. though really they should of googled for samples first
<7> lol at write shellcode
<3> are FAT32 volumes always accessed using LBA mode?
<4> I don't think track access mode has anything to do with the file system on the disk
<3> nm. I found out that they use special partition types for it.
<3> just wondering whether I can detect this in any way without having to consult the MBR to find the partition.
<3> for that matter, will using the EDD (LBA) interface by default cause problems if the interface should have been CHS?
<3> i.e. always trying EDD on hard drives, with fallback to CHS if EDD is missing, and always using CHS on floppies.
<3> as I recall, you can get the LBA from (cyl*nhead + head) * spt + sec - 1
<3> and that matches with the way you'd normally go from the LBN on a FAT disk to the CHS values for INT13.
<0> hey falks, a quick one : i have 2 values stored in dword[ebp-4] and dword[ebp-8] how i can use both as an index on ebx ?
<0> some1 alive ?
<4> More than a billion people. I seem to remember answering this very same question yesterday.
<8> the situation hasn't changed noticably?
<8> guess that's good
<4> lol
<4> I forget what the actual number is. Isn't it something like six billion?
<9> I died --one
<8> the last time i heard, it was something like 6 billion yes
<4> According to one site, last count is: 07/01/07 6,605,046,992
<8> they must be busy keeping count
<4> Indeed. This site counts everyone on earth once a month.
<4> I don't recall anyone asking me to raise my hand anytime last month :)
<8> i'd just throw a random number every month
<8> maybe that's what they also do
<4> Well, according to this site, it's a random number added to the previous month for a steady increase
<4> oh wait! This site actually updates the world population real time! Every reload gives you the current count
<8> cool!
<4> yep, another fifty people between my two tells :)
<8> must be some complicated javascript
<4> http://www.census.gov/ipc/www/popclockworld.html



<9> would have to be in ***embler to count that quick
<8> a huge sql-query
<4> haha
<0> guys, how i can do something like that ?
<0> lea ecx, [ebx+4*1] ; ecx = cols
<0> mov dword[ebp-4], ecx ; set local col = matrix.cols
<4> select count(*) from earth where species='human';
<0> i need to put in [ebp-4] the first dword from [ecx]
<4> The *1 is unnecessary
<0> any asm gurus here ?
<4> Probably many. I am, for example (or at least used to be.)
<0> djlogan can u help me please ?
<4> I have no idea. You'd have to ask a question I can understand.
<0> i just did
<0> <0> lea ecx, [ebx+4*1] ; ecx = cols
<0> <0> mov dword[ebp-4], ecx ; set local col = matrix.cols
<0> i need to put in [ebp-4] the first dword from ecx
<4> ecx is a dword
<4> So there would only be one dword in ecx
<0> 0x80491cc <matrixA+4>:
<0> thats what i have in ecx
<4> I presume what you mean by that is that: ecx = 0x80491CC
<0> yes, but i wanna take the value from memory ecx is ptr to..
<0> 3 0 0 0 1 0 0 0
<0> i wanna take the "3"
<0> and put it in [ebp-4]
<4> mov eax,[ecx] will put the first dword pointed by by ecx into eax. Then mov [ebp-4],eax will store that value into [ebp-4]
<0> gonna try it..thanks :)
<10> well, at least a 'lea' instruction makes only "base_address + virtual offset"
<10> right
<10> ?
<4> I'm not sure what your question is. Both a mov and a lea will calculate an offset into a segment register. The difference is that mov will load the value at the offset, lea will load the offset itself.
<11> [] = *
<11> lea = &
<10> oh i see
<10> so, lea is a '&'
<10> lea eax,MyVar <- i'll have &MyVar in 'eax'
<11> thats the simplified way of looking at it at least, yea it loads the effective address (LEA)
<11> and when you use the brackets with a register, youre accessing its contents
<11> like a pointer does in hll
<10> yes, i see
<12> if [] = *x, then lea = x
<10> yes, i see
<11> <3 fasm
<1> fnord
<13> hi. I try to find a quick example implementation of pow(x,y) as Exp( y* Log(x)) in inline code or asm statement for quick execution... stdlibc pow seems to be very heavy
<14> hayzel, you can expect the libc implementations to be very efficient
<13> wobster, I don't blame stdlibc , but my program for a simple step needs 10.000x times the pow(x,y) function ... and because it is external , it looses too much time in calls (my prog is in c++)
<14> hayzel, well, it was answered in ##c sufficiently, I guess.
<13> wobster, yea thanks ...
<14> hayzel, did you actually profile your code or is that just an ***umption?
<13> wobster, with valgrind
<14> I see. Well, just do what they recommended. Try to reduce the invokations. Maybe this helps, though is might not be appropriate to add gcc-dependence: http://gcc.gnu.org/onlinedocs/gcc/Other-Builtins.html#Other-Builtins


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #asm
or
Go to some related logs:

+tr +strip whitespace +shell
aptitude ajunta linux
#asm
[idesk] Background's file not found.
subroutine twice perl
mysql get autocount
#css
ubuntu tty cut and paste
ubuntu java cannot set locale
perl +submit +blinken



Home  |  disclaimer  |  contact  |  submit quotes