Since you generally need to know C++ with Assembly, assembler, whatever, I was wondering: What does it look like? What does the hello world porgram look like. What is the first "hello world" thing for ASM?
Since you generally need to know C++ with Assembly, assembler, whatever, I was wondering: What does it look like? What does the hello world porgram look like. What is the first "hello world" thing for ASM?
Stan The Man. Beatles fan
When I was a child,
I spoke as a child,
I thought as a child,
I reasoned as a child.
When I became a man,
I put childish ways behind me"
(the holy bible, Paul, in his first letter to the Cor. 13:11)
There's an asm forum over here that would be able to help you:
www.flashdaddee.com/forums
When all else fails, read the instructions.
If you're posting code, use code tags: [code] /* insert code here */ [/code]
1) You generally do NOT need any kind of assembly knowledge to work in C++.Originally posted by Stan100
Since you generally need to know C++ with Assembly, assembler, whatever, I was wondering: What does it look like? What does the hello world porgram look like. What is the first "hello world" thing for ASM?
2) What KIND of Assembly language do you want to know about? Each processor tends to have at LEAST one assembly language associated with it, and often many. E.g. I've had to use 8 different assembly languages (not counting minor variants) for 4 different families of microprocessors over the past 5 years; there is not just one "assembly language" that works on all machines. Assembly languages are very processor-specific, and there may even be multiple languages (usually developed by different vendors) for the same processor.
I think that he meant you need to know C++ to program much in ASM.
Anyway, there's another thread about this here, and same deal goes for you as Ben_Robotics as far as those books I have go.
Away.
title Hello World Program
;this program displays "Hello World!"
.model small
.stack 100h
.data
message db "Hello World!", 0dh, 0ah, '$'
.code
main proc
mov ax, @data
mov ds, ax
mov ah, 9
mov dx, offset message
int 21h
mov ax, 4C00h
int 21h
main endp
end main
Medical Robotics: "Pursuing perfection in healthcare through innovations in robotics and information technologies for medicine and surgery."
all you could want to know and more
http://webster.cs.ucr.edu/
Try to help all less knowledgeable than yourself, within
the limits provided by time, complexity and tolerance.
- Nor
Yes, As Nor suggested this link is a very good starting point for those learning assembly. You can also find the hello world program written in High Level Assembly in the book presented on the site:
program HelloWorld;
#include ("stdlib.hhf")
begin HelloWorld;
stdout.put("Hello World", nl);
end HelloWold;
cheers,
Ben
Medical Robotics: "Pursuing perfection in healthcare through innovations in robotics and information technologies for medicine and surgery."
or if one want something lighter but still quite enough to get
started I suggest MadWizards tutorial . (<---- this l wont move! )
cheers
/btq
...viewlexx - julie lexx