(see above for lexical information)


Trinium CPU

General

  • data bus 9 trits (1 Tryte)
  • addr bus 27 trits (3 trytes)

the CPU instructions will be based on the 8080 assembly, some instruction for the ternary side will be added

Register

On the Trinium Architecture there will be 5 GPR, the 4 usual in binary cpu plus 1 extra

  • a : accumulator
  • b : base
  • c : counter
  • d : data
  • e : extra register

Each register is a "triplet" of tryte, a Word. Register can be accessed by Word or by Tryte in high, mid or low possition :

for exemple register `a` :

  • ax will get the whole word
  • ah will get the hight tryte
  • am will get the middle tryte
  • al will get the lower tryte

Lexical Informations :

  • 1 Tryte = 9 Trits
  • 1 Word = 3 Trytes = 27 trits
  • 1 TWord = 27 Tryte = 729 trits
  • GPR : Generale Purpose Register
  • SP : stack pointer
  • IP : Instructions Pointer