Coinbase interview question

Implement an assembly code level calculator