ld is the linker, not the loader. Dot o files are not called your "object model". They are just called object files. The more common file extension on linux for assembler source files is s (e.g. hello.s).
@TheMovieMaker123 i'm learning but yes from what i read you can destroy the registers or wipe out data if you store it in the wrong register like with stack pointers (esp) you can push into the wrong register code the is already occupied by other data i recommend tutorials and/or books as a guide before attempting some heavier programs
@TheMovieMaker123 don't let it steer you away from assembly language just stay with simple programs till you fully understand what is going on besides windows offers some protection using assembly i tried it before and it told me when a window popped up that the socket in the cpu was protected and gave me the serial number off the cpu but i was using an old computer so i didn't mind trying something new linux OS on the otherhand is not protected it's kernel has to be updated using assembly
its not a movie,call it a video and be better prepared on what you are gonna explain in your future videos,anyways good initiative
avi0500 4 days ago
@Pr3fixProducts um how Is he an idiotic troll?
101MUDman101 6 days ago
i still cant pick up any of this, i am trying to develop and operating system. Anyone have any suggestions?
MrNacho122 2 weeks ago
@MrNacho122 Idiotic troll..
Pr3fixProducts 2 weeks ago
@MrNacho122 You can develop os using C language. But i think you dont have experience for it :)
DevDamian 1 week ago
he is shit explaining. why bother!
and he keeps pronouncing it wrongly
majestic68 1 month ago
You could atleast continue inside program, not all understand UNIX system but still have desire to learn assembly
lolek12345kmet 2 months ago in playlist Assembly Language Tutorial
Comment removed
83774 6 months ago
@83774 Sintaxis... lol, Syntax.
Radnyxerr 1 month ago
"DirtyTwo" What the heck? O.o
MrVirtualCoder 10 months ago
mov ecx,1000000000000000000000000000000
again: Hi everyone loop again
ya6655 11 months ago
Comment removed
iMPRE7ed 1 year ago
Bro "God bless you" ... you know what i have signed up in youtube(first time ever) just to say you this. I really liked these tuts. Thanks :)
xordux7 1 year ago
um.... why does my computer not understand the command "nasm?" I'm running putty connected to a Linux computer.
DTHRocket 1 year ago
@DTHRocket u in comp 2003
jpchazes 1 year ago
@jpchazes Nope, just an inquiring mind.
DTHRocket 1 year ago
@DTHRocket You probably don't have it installed on your distribution.
CabbageNappa 8 months ago
ld is the linker, not the loader. Dot o files are not called your "object model". They are just called object files. The more common file extension on linux for assembler source files is s (e.g. hello.s).
rlee0001 1 year ago
I have ubuntu 64 , i don't can compiler
ld: i386 architecture of input file `hi.o' is incompatible with i386:x86-64 output
WInfTc 1 year ago
quicker way to run the .asm
nasm -f elf hello.asm
ld -o hello hello.o
./hello
try it!
kudakadere 1 year ago
This has been flagged as spam show
helloworld.asm(10) : error A2085: instruction or r
egister not accepted in current CPU mode
helloworld.asm(11) : error A2085: instruction or r
egister not accepted in current CPU mode
helloworld.asm(12) : error A2034: must be in segme
nt block
helloworld.asm(14) : error A2008: syntax error : s
ection
helloworld.asm(15) : error A2034: must be in segme
nt block
Krisler12 1 year ago
I 've got those errors:
--------------------------------------------------------------------
helloworld.asm(5) : error A2085: instruction or re
gister not accepted in current CPU mode
helloworld.asm(6) : error A2085: instruction or re
gister not accepted in current CPU mode
helloworld.asm(7) : error A2085: instruction or re
gister not accepted in current CPU mode
helloworld.asm(8) : error A2034: must be in segmen
t block
Krisler12 1 year ago
is: sudo apt-get install nasm right?
nickrohn93 1 year ago
Comment removed
nickrohn93 1 year ago
Great job.
jaapaurelio 2 years ago
is it possible to break your pc, playing about with assembly language?
TheMovieMaker123 2 years ago
No.
Chaosvex 1 year ago
ok thank you,
TheMovieMaker123 1 year ago
@TheMovieMaker123 i'm learning but yes from what i read you can destroy the registers or wipe out data if you store it in the wrong register like with stack pointers (esp) you can push into the wrong register code the is already occupied by other data i recommend tutorials and/or books as a guide before attempting some heavier programs
truesivad 1 year ago
@truesivad Ahh thanks very much for the reply; will look into it a little more.
TheMovieMaker123 1 year ago
@TheMovieMaker123 don't let it steer you away from assembly language just stay with simple programs till you fully understand what is going on besides windows offers some protection using assembly i tried it before and it told me when a window popped up that the socket in the cpu was protected and gave me the serial number off the cpu but i was using an old computer so i didn't mind trying something new linux OS on the otherhand is not protected it's kernel has to be updated using assembly
truesivad 1 year ago