Skip to content

Commit

Permalink
Add delocate peg rule for #(const)
Browse files Browse the repository at this point in the history
  • Loading branch information
dkostic committed Nov 26, 2024
1 parent 17690c2 commit 66b4a3d
Show file tree
Hide file tree
Showing 2 changed files with 1,414 additions and 1,731 deletions.
1 change: 1 addition & 0 deletions util/fipstools/delocate/delocate.peg
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ RegisterOrConstant <- (('%'[[A-Z]][[A-Z0-9]]*) /
('#' '~'? '(' [0-9] WS? "<<" WS? [0-9] [0-9]? ')' ) /
(('#' / '$') '~'? '0x'? [[0-9A-F]]+ ) /
('$(-' [0-9]+ ')') /
('#(' [0-9]+ ')') /
ARMRegister)
![fb:(+\-]
ARMConstantTweak <- ((([us] "xt" [xwhb]) / "lsl" / "lsr" / "ror" / "asr") (WS '#'? Offset)?)/
Expand Down
Loading

0 comments on commit 66b4a3d

Please sign in to comment.