Execute Brain****/x86 Assembly: Difference between revisions

m
Fixed syntax highlighting.
(→‎Implementation:: Added .bss directive)
m (Fixed syntax highlighting.)
 
Line 1:
===x86_64 Assembly===
 
GAS Syntax for Linux. Called it "Brainkrieg" after Teen Girl Squad. Operating principle is a little like a multi-cycle processor. Uses a jump table. Fixed data memory block.
Line 5:
===Implementation:===
 
<syntaxhighlight lang="asm">// Assembly brainf*** interpreter
// Alternative name: "ASSembly brainF*** interpretER"
// Compiles with `gcc -nostdlib brainkrieg.sx -o brainkrieg`
Line 329:
.zero (1<<20)
endtape:
.zero 1</syntaxhighlight>
</lang>
9,476

edits