Return to site

Exapunks trash world news

broken image

The example code in the Zine shows how it's done. How does it decide where to jump execution to? Well, you need to add a label, and you can mark the location to jump to with MARK label. It is not required to set T with the TEST command, you can just COPY or ADDI or whatever to T as well. FJMP (jump if false) does the opposite: it causes the EXA to start executing elsewhere if T is set to 0. Otherwise it just continues with the next instruction down the line.

broken image

TJMP and FJMP go together: TJMP (jump if true) makes the EXA start executing elsewhere in the program, if T equals 1.

broken image

If the comparison is true, it places 1 in the T register. What this page doesn't mention is that it can do checks with =, (is number A equal to, less than, greater than number B). It tests whether some comparison is true or not. These are a necessary component to make any programming language 'Turing-complete', which basically means it can be used to write any arbitrary program. The Zine page for this assignment goes into loops and conditionals. Three votes for Don't count on it and one each for the other options. It is designed to increase activity in your prefrontal cortex.

broken image

I did a pseudorandom toin coss to settle the tie.Īnyway, there's just one more tutorial to go. One for Not really and two each for the other two options. The last of the tutorial assignments! Let's jump right into it. Part 5: TRASH WORLD NEWS - Tutorial 4 Part 5 - TRASH WORLD NEWS - Tutorial 4

broken image