First  |  Prev |  Next  |  Last
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
New Getline in assembly
Getline() function is born today, what do you say? not have debug it GetLine_m(b, i, pf) in b there is a pointer of a pointer of one array i there is its len pf is a pointer to file return 1 error of parameter CF=1 2 error of memory 3 error memory is not of malloc -1 EOF ; ; ... 15 Jul 2008 06:08
popen
"Evenbit" <nbaker2328(a)charter.net> wrote in message news:578482e9-b022-4dea-99d1-4d621fa449ac(a)m45g2000hsb.googlegroups.com... Yes, I've discovered the nifty gcc 'popen' function 'popen' is not GCC C, not ANSI C, but POSIX. http://www.opengroup.org/onlinepubs/009695399/functions/popen.html which can be used... 13 Jul 2008 00:49
I pee in the open
Yes, I've discovered the nifty gcc 'popen' function which can be used from ASM to do stuff like this: ; nasm -f elf -o tellmore.o tellmore.asm ; gcc -o tellmore tellmore.o section .data cmd db 'more', 10, 0 mod db 'w', 0 fmt db '%d', 10, 0 section .bss cnt resd 1 fid resd 1 section .text global main ... 2 Aug 2008 14:34
Inquiries about Jesus Christ
On Wed, 09 Jul 2008 03:36:25 -0700, Dustin Robert Kick wrote: No, no, you misunderstand, Jesus has a lot to say about assembly programming. Indeed. The gospel of John starts off with "In the beginning, the Word existed" for a good reason. Rui Maciel ... 26 Jul 2008 22:13
Why bother subtracting for local variables? (x86 c calling convention)
JK.Lists.questions(a)gmail.com wrote: I've looked through several references, but I can't find anything that explains why we bother subtracting from esp when storing local variables. One reference indicates that it prevents locals from getting clobbered. How would they be clobbered if local variables wer... 4 Jul 2008 19:13
Why bother subtracting for local variables? (x86 c calling convention)
JK.Lists.questions(a)gmail.com wrote in part: I've looked through several references, but I can't find anything that explains why we bother subtracting from esp when storing local variables. One reference indicates that it prevents locals from getting clobbered. How would they be clobbered if local varia... 4 Jul 2008 18:12
Why bother subtracting for local variables? (x86 c calling convention)
I've looked through several references, but I can't find anything that explains why we bother subtracting from esp when storing local variables. One reference indicates that it prevents locals from getting clobbered. How would they be clobbered if local variables were stored on the stack via the usual push and po... 5 Jul 2008 07:25
yane
Yep, Americanes Need 'Erbs ??? :) Yet Another Nerd Experience You Ain't No Expert Yonder Assembler Not Easy ;-------------------- ; nasm -f elf hw2uyane.asm ; ld -o hw2uyane hw2uyane.o %include "yanetut.inc" putstring "Please tell me your name? " getstring 79,name putstring "Hello, " putstring name p... 1 Jul 2008 23:37
Battleships - was:: a compainion book for aoa?
Evenbit wrote: .... Yes, converting code from the high-level languages is a good exercise. I've cribbed a lot of code from a Java book. Anything that forces you to practice writing code is a good thing. Or do a small game. But don't make the challenge TOO difficult... simplify the specs... just... 29 Jun 2008 11:07
The Logic of Buttons
So far I see no problem to make the dear end users believe in my logic for a pressed button (shown as inset) as 'active'. This works fine for both, single selection, like radio-buttons; list-selectors; color-box, and multi-selectable (check-box styled) option-flag inputs. But when it comes to show the status o... 2 Jul 2008 20:08
First  |  Prev |  Next  |  Last
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17