[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/vr/ - Retro Games

Search:


View post   

>> No.1508449 [View]
File: 49 KB, 891x480, bFrcA.png [View same] [iqdb] [saucenao] [google]
1508449

>>1508374
Programs work by instructing physical hardware to do things. A program is just a series of numbers usually represented in hexidecimal format. A computer's CPU will execute these instructions which basically involve moving or manipulating data. But programming with hexidecimal numbers as instructions is confusing we we use assembly code which is just a nunomic for the hexidecimal numbers.

So E8 becomes MOV which moves a byte (depending upon the architecture) somewhere. Unlike with high level languages in assembly you need to pysically move your data around the CPU, into registers and mathematical units.

Holy fuck I suck at this. Assembly is like doing everything by hand, high level 'programming' languages are like using power tools.

Here's a very primitive CPU built in minecraft for fun.

Pic related, assembly instructions.

Navigation
View posts[+24][+48][+96]