commit 0a44e126f2d8c7e09e94d78268b263a1da65cb0b
parent 71777deafdbf3ac8d464d5b8ebde7ed21127a4b3
Author: neau <neau@web>
Date: Wed, 22 Jun 2022 16:04:23 +0200
empty web commit
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/p-code.mdwn b/p-code.mdwn
@@ -1,6 +1,6 @@
In computer programming, a p-code machine is a [[virtual machine]] designed to execute the assembly language of a hypothetical CPU.
-Niklaus Wirth specified a simple p-code machine in the 1976 book Algorithms + Data Structures = Programs. The machine had 3 registers - a program counter p, a base register b, and a top-of-stack register t. There were 8 instructions:
+[[Niklaus Wirth]] specified a simple p-code machine in the 1976 book Algorithms + Data Structures = Programs. The machine had 3 registers - a program counter p, a base register b, and a top-of-stack register t. There were 8 instructions:
lit 0, a : load constant a
opr 0, a : execute operation a (13 operations: RETURN, 5 math functions, and 7 comparison functions)