Add New Instructions #5

Open
opened 2024-12-24 12:29:31 +00:00 by giteadmin · 0 comments
Owner

Expand OpCode enum (e.g. INTEGER_MINUS, INTEGER_MUL, etc.).
Write a makeInstruction or makeIntLiteral function to build the descriptor for it.
In the main loop, implement the logic (pop the correct number of integers, do the operation, push the result).

Expand OpCode enum (e.g. INTEGER_MINUS, INTEGER_MUL, etc.). Write a makeInstruction or makeIntLiteral function to build the descriptor for it. In the main loop, implement the logic (pop the correct number of integers, do the operation, push the result).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: giteadmin/SoLUSH-3#5