Lecture 4: Numbers: introduction to Stack

Errata:

  • Make sure to initialize the stack pointer before using push and pop operations: https://github.com/DmitrySoshnikov/eva-vm-source/blob/main/src/vm/EvaVM.h#L197

Lecture content:

  • CONST instruction
  • Constant pool
  • Operands stack
  • Push and pop
  • Eva value encoding
  • Tagged unions
  • Stack overflow
  • Simple numbers
  • Value accessors

Complete and Continue  
Discussion

0 comments