How to make the classic "Hello world!" program in old school assembly.
Uploader Comments (Ichthus91)
Top Comments
-
Why not use;
.db "Hello World", $
All Comments (116)
-
@mason092 Actually, C++ is one of the hardest languages to completely grasp, while assembler is trivial. Cross-cutting interactions of various C++ features are super hard to see through in some cases.
The point of C++ and comparable HLLs isn't to be easy, it's to increase productivity and make writing huge, high-performance software manageable by providing some abstraction and safety measures - which don't have to nor usually map to natural language and thinking.
-
@Ichthus91 how did you get into debug mode because i made your program that your using in this vid and i couldn't get into debug mode by just typing "debug" so how did you get into it?
-
-
oh god. i gotta stop watching all of these video i cant understand. oh well, no sleep tonite i guess.
-
I am new to this, but when it says to look where address 111, where is is?
-
i love you visual basic :D
-
@Ichthus91 Actually this can work. Although your method is better because his you have to plan out where your value will end up at the end, but yours you just create your define your bytes while going a long.
easier code:
mov ah, 09
mov ah, 109
int 21
int 20
db "Hello World!$"
acount134 1 year ago 4
you can't define byte with debug. "db" is an object-orientated notation. You can do something like it though. See method 2 which I included in the description.
Ichthus91 1 year ago
@Ichthus91
uh... ya you can, try my code exactly how I have it typed
acount134 1 year ago
@acount134 Your code require an object-orientated compiler. As I said... see method 2. Method 2 shows how to "define byte" in debug.
Ichthus91 1 year ago 11