From 8b8a2fba3921cde30d07be512d82c04bd2286e8b Mon Sep 17 00:00:00 2001 From: Kevin Broch Date: Fri, 23 May 2025 15:05:06 -0700 Subject: [PATCH 1/2] feature: add regex to inst.assembly schema relates to #807 --- schemas/inst_schema.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/schemas/inst_schema.json b/schemas/inst_schema.json index f1a8aa206..2400d72f2 100644 --- a/schemas/inst_schema.json +++ b/schemas/inst_schema.json @@ -401,7 +401,8 @@ }, "assembly": { "type": "string", - "description": "Assembly format of the instruction. Can use decode variables" + "description": "Assembly format of the instruction. Can use decode variables", + "pattern": "^$|^\\(?[a-zA-Z][a-zA-Z0-9_]*\\)?(?:, (imm\\(|\\()?[a-zA-Z][a-zA-Z0-9_]*\\)?)*$" }, "data_independent_timing": { "type": "boolean", From 16fc5a49076373e9763b2df7dfd1dfdd37cd2dbb Mon Sep 17 00:00:00 2001 From: Kevin Broch Date: Wed, 4 Jun 2025 20:00:46 -0700 Subject: [PATCH 2/2] fix: remove blank space --- arch/inst/C/c.ebreak.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/inst/C/c.ebreak.yaml b/arch/inst/C/c.ebreak.yaml index b39da5a89..959a64e18 100644 --- a/arch/inst/C/c.ebreak.yaml +++ b/arch/inst/C/c.ebreak.yaml @@ -21,7 +21,7 @@ definedBy: anyOf: - C - Zca -assembly: " " +assembly: "" encoding: match: "1001000000000010" access: