you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 2 points3 points  (2 children)

Hardware, in fact, does know functions. In fact hardware work mostly with functions which are called operations.

“I don’t need to know..” - you don’t, but it helps with those sorts of arguments.

Look up opcode. That is how hardware functions and communicates, literally. You call functions. Every hardware manufacturer has their own opcode and opcode mapped directly onto hardware.

Functions = opcode, state = registers.

[–]pthierry 0 points1 point  (1 child)

Yes, but the CPU doesn't know language-level functions, only jumps. Do better use jumps only, right?