Skip to content

Commit

Permalink
correct number of Armv7-M FPU regs (32 instead of 31)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkannwischer committed Dec 8, 2024
1 parent 59b2f2e commit 7ecfafa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slothy/targets/arm_v7m/arch_v7m.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def list_registers(reg_type, only_extra=False, only_normal=False, with_variants=
"""Return the list of all registers of a given type"""

gprs_normal = [ f"r{i}" for i in range(15) ]
fprs_normal = [ f"s{i}" for i in range(31) ]
fprs_normal = [ f"s{i}" for i in range(32) ]

gprs_extra = []
fprs_extra = []
Expand Down

0 comments on commit 7ecfafa

Please sign in to comment.