does any1 know assembly language :3 SPECIFICALLY 80x86. i must brush up for my class this next semester .
also i have a Q abt the 80x86 sht
what are the types of assembly language and what does 80x86 mean and why r there variations
80x86 asm
- cyndaquirl
- Lorg
- Posts: 188
- Joined: Sun Jan 17, 2021 7:45 pm
- Location: Canada
- x 144
- Contact:
-
Official Verification
Gamer
Awards
Misc
Type
- totallynotlydia
- Posts: 91
- Joined: Sun Jan 17, 2021 8:08 pm
- Location: Terminal Dogma
- x 44
-
Official Verification
Gamer
Awards
Misc
Type
Re: 80x86 asm
Your class is doing x86 assembly?!? what level class are you taking???
(i think thats what 80x86 asm is referring to, correct me if im wrong.)
someone else here could probably give a better explanation, but assembly is like, human readable machine code. It's specific to the CPU you're working with (the Sega Genesis for instance uses it's own Motorolla 68K assembly so those games have to be written in/compiled to machine code for 68K CPUs, Intel processors are x86 based so applications have to be written in/compiled to machine code for x86). Assembly isn't exactly what the CPU reads; it has to be Assembled first (basically reading the Assembly, and replacing the human readable parts with CPU-readable parts). Besides this, Assembly is very close to what CPUs read.
So basically, Assembly (Human Readable Machine Code --> Machine Code (the stuff CPUs read and run).
While there are some benefits to Assembly depending on the platform (like speed (as you're interfacing directly with the hardware and have more control)), Programming languages like C compile to machine code for many different CPU types; thats the appeal of most programming languages. Developing stuff would suck if we had to rewrite every single thing if we wanted to target a different CPU/hardware type.
TL;DR: its the stuff CPUs read, but readable by humans. Because of this it varies by CPU/hardware.
if im wrong about anything (or if im not) please correct me
(i think thats what 80x86 asm is referring to, correct me if im wrong.)
someone else here could probably give a better explanation, but assembly is like, human readable machine code. It's specific to the CPU you're working with (the Sega Genesis for instance uses it's own Motorolla 68K assembly so those games have to be written in/compiled to machine code for 68K CPUs, Intel processors are x86 based so applications have to be written in/compiled to machine code for x86). Assembly isn't exactly what the CPU reads; it has to be Assembled first (basically reading the Assembly, and replacing the human readable parts with CPU-readable parts). Besides this, Assembly is very close to what CPUs read.
So basically, Assembly (Human Readable Machine Code --> Machine Code (the stuff CPUs read and run).
While there are some benefits to Assembly depending on the platform (like speed (as you're interfacing directly with the hardware and have more control)), Programming languages like C compile to machine code for many different CPU types; thats the appeal of most programming languages. Developing stuff would suck if we had to rewrite every single thing if we wanted to target a different CPU/hardware type.
TL;DR: its the stuff CPUs read, but readable by humans. Because of this it varies by CPU/hardware.
if im wrong about anything (or if im not) please correct me
hi
- zhari
- Posts: 15
- Joined: Sun Jan 17, 2021 11:33 pm
-
Awards
Re: 80x86 asm
OMFG THAT MADE SOOOOOOOOOO MUCH SENSE
u actually translated it into english
i kinda understand the memory allocation stuff so ik what u mean about communicating directly w the computer hardware B|
altho the thing that im still confused abt is understanding how much memory u want to allocate at the beginning of the code
like how in the H E double hockey sticks am i suppozed to know that .
u actually translated it into english
i kinda understand the memory allocation stuff so ik what u mean about communicating directly w the computer hardware B|
altho the thing that im still confused abt is understanding how much memory u want to allocate at the beginning of the code
like how in the H E double hockey sticks am i suppozed to know that .
you're telling me a shrimp fried this rice?
- totallynotlydia
- Posts: 91
- Joined: Sun Jan 17, 2021 8:08 pm
- Location: Terminal Dogma
- x 44
-
Official Verification
Gamer
Awards
Misc
Type
Re: 80x86 asm
tbh i don't really know enough to explain the memory allocation bit,
im glad you found my explanation useful tho!!
im glad you found my explanation useful tho!!
hi