From 54bd10f913f81d36ffed20584106ead0a426ac9d Mon Sep 17 00:00:00 2001 From: Dominic Grimm Date: Sat, 9 Jul 2022 21:07:45 +0200 Subject: [PATCH] Add clc opcode --- src/hence/firmware/firmwares/default.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/hence/firmware/firmwares/default.yml b/src/hence/firmware/firmwares/default.yml index 7652970..51d1cf0 100644 --- a/src/hence/firmware/firmwares/default.yml +++ b/src/hence/firmware/firmwares/default.yml @@ -104,6 +104,20 @@ sections: tmpl 0xb alu 0x01 push + - name: clc + description: Clears carry flag + opcode: null + arg: null + stack: + input: [] + output: [] + microcode: | + tmpsr 0xd + tmpl 0xa + tmps 0b11111110 + tmpl 0xb + alu 0x01 + tmpl 0xd - name: stack-manipulation description: Stack manipulation opcodes: