Search Results

Showing results 1 to 24 of 24
Search took 0.01 seconds.
Search: Posts Made By: tomtetlaw ; Forum: Assembly and child forums
Forum: Assembly 13 Days Ago
Replies: 4
Views: 351
Posted By tomtetlaw
Good point.
What is device independence?
Forum: Assembly 13 Days Ago
Replies: 4
Views: 351
Posted By tomtetlaw
I wouldn't say that a compiler is for convenience, I would say that it is necessary to compile source code. (:
Forum: Assembly Oct 10th, 2009
Replies: 2
Views: 392
Posted By tomtetlaw
How do you paint pixels in NASM, could someone tell me about it and mabey give me an example?
Forum: Assembly Oct 8th, 2009
Replies: 5
Views: 393
Posted By tomtetlaw
I think it's because it's not converting the characters from their ascii codes to their actual value, is this right?
Forum: Assembly Oct 8th, 2009
Replies: 5
Views: 393
Posted By tomtetlaw
Bump
Forum: Assembly Oct 7th, 2009
Replies: 5
Views: 393
Posted By tomtetlaw
What that did is after I inputed "tom" into it, it waited for me to input another peice of text and then still said that I had entered 7, this is what it looks like:


Please enter something: tom...
Forum: Assembly Oct 7th, 2009
Replies: 5
Views: 393
Posted By tomtetlaw
Bump
Forum: Assembly Oct 7th, 2009
Replies: 5
Views: 393
Posted By tomtetlaw
I am trying to make a program that prompts the user for input then outputs it to them(back to the good old days :D). It all works, except it doesn't output what the user inputs, it outputs a bunch of...
Forum: Assembly Aug 19th, 2009
Replies: 16
Views: 895
Posted By tomtetlaw
i don't know what my compiler uses :S
Forum: Assembly Aug 18th, 2009
Replies: 16
Views: 895
Posted By tomtetlaw
I ran your code and it doesn't do anything :(

This is my code, the same thing but without the functions:

[section .data]
hello: db 'Hello world!', 10, 0 ;15 bytes
nl: db ' ', 10, 0 ...
Forum: Assembly Aug 17th, 2009
Replies: 16
Views: 895
Posted By tomtetlaw
my gcc port is DJGPP i think
how do i adjust the stack?
Forum: Assembly Aug 17th, 2009
Replies: 16
Views: 895
Posted By tomtetlaw
ok, sorry, here is my code again that still doesn't work:


[section .data ]
hello: db 'Hello, world!',10,0

[section .text ]
global _main
extern _printf
.start
Forum: Assembly Aug 17th, 2009
Replies: 16
Views: 895
Posted By tomtetlaw
This is now my code:

[section .bss ]
name: resb 64

[section .start]
global _main, _print_nl, _print_msg, _return
extern _printf, _read
_main:
push msg
Forum: Assembly Aug 17th, 2009
Replies: 16
Views: 895
Posted By tomtetlaw
Can someone please help me?
Forum: Assembly Aug 16th, 2009
Replies: 16
Views: 895
Posted By tomtetlaw
I am doing Narue's Introduction to Assembly, and when I run my program, nothing happens.

This is my code:

[section .data]
hello: db 'Hello, world!', 10, 0 ;15 bytes
nl: db ' ', 10, 0 ;3...
Forum: Assembly Aug 16th, 2009
Replies: 1
Views: 416
Posted By tomtetlaw
Can someone help me?
Forum: Assembly Aug 15th, 2009
Replies: 2
Views: 395
Posted By tomtetlaw
Download the PDF here:
http://www.daniweb.com/forums/thread41309.html
It is really good.
Forum: Assembly Aug 15th, 2009
Replies: 1
Views: 416
Posted By tomtetlaw
I am doing Narue's Introduction to Assembly, and when I run my program, nothing happens.

This is my code:

[section .data]
hello: db 'Hello, world!', 10, 0

[section .text]
global _main...
Forum: Assembly Aug 15th, 2009
Replies: 12
Views: 641
Posted By tomtetlaw
Now I get this error:
c:/program files/gcc/tmp/cceR7rQK.o:driver.c:(.text+0x12):undefined reference to '_asm_main'
collect2: 1d returned 1 exit status


any help would be appreciated
Forum: Assembly Aug 15th, 2009
Replies: 12
Views: 641
Posted By tomtetlaw
I gave it a full path and it worked, thank you
Forum: Assembly Aug 14th, 2009
Replies: 12
Views: 641
Posted By tomtetlaw
My asm file and the asm_io.inc file are in the same folder, now i changed it to %include 'asm_io.inc' and it still gave me the same error
Forum: Assembly Aug 14th, 2009
Replies: 12
Views: 641
Posted By tomtetlaw
I'm using NASM.
What do you mean by
"working path is usually where the project is located, not the source files. See if you can add the includes folder to the project!"
Forum: Assembly Aug 14th, 2009
Replies: 12
Views: 641
Posted By tomtetlaw
I am doing a tutorial on Assembly, and I have ran into this error:
fatal: Unable to open include file "includes/asm_io.inc"

Here is my code:

%include "includes\asm_io.inc"
MOV EAX, 3 ...
Forum: Assembly May 31st, 2009
Replies: 1
Views: 493
Posted By tomtetlaw
When I try to assemble this code:


%include "asm_io.inc"
%define SIZE 100 ;#define SIZE 100
MOV SIZE, eax ;eax = SIZE

CALL print_int, SIZE ;std::cout << eax

I commented the c++...
Showing results 1 to 24 of 24

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC