NAR 1 - Instruction Coding and Set

Instruction Coding and Set

  • SABF (001aaaaa, sr. Saberi u Fiksnom zarezu, en. Add Fixed point) loads the content of memory location specified by the address parameter, adds it to the current value of the accumulator and stores the result into the accumulator
  • PZAF (010xxxxx, sr. Promeni Znak Akumulatora u Fiksnom zarezu, en. Change the sign of the accumulator in fixed point) Negates the fixed point (such as integer) value in the accumulator
  • AUM (011aaaaa, sr. Akumulator U Memoriju, en. Accumulator Into Memory) stores the content of the accumulator into memory location specified by the address parameter
  • MUA (100aaaaa, sr. Memorija U Akumulator, en. Memory Into Accumulator) loads the content of memory location specified by the address parameter into the accumulator
  • NES (101aaaaa, sr. Negativni Skok, en. Negative Jump) performs a conditional jump to the address specified by the parameter if the current value of the accumulator is negative
  • ZAR (110xxxxx, sr. Zaustavi Računar, en. Stop the Computer) stops any further processing.

Two more instructions were not specified but were commonly present in simulators and took instruction codes 000aaaaa and 111aaaaa:

  • BES (sr. Bezuslovni Skok, en. Unconditional Jump) performs an unconditional jump to the address specified by the parameter
  • NUS (sr. Nula-Skok, en. Zero Jump) performs a conditional jump to the address specified by the parameter if the current value of the accumulator is zero

Read more about this topic:  NAR 1

Famous quotes containing the words instruction and/or set:

    “Teaching is the perpetual end and office of all things. Teaching, instruction is the main design that shines through the sky and earth.”
    —Ralph Waldo Emerson (1803–1882)

    “This crown to crown the laughing man, this rose-wreath crown: I myself have set this crown upon my head, I myself have pronounced my laughter holy.”
    —Friedrich Nietzsche (1844–1900)