@ -307,7 +307,7 @@ def emit_rust(base_addr, ending_addr, registers):
fields.append('')
fields += lines
lines = []
code.append(f' pub {reg["name"].lower()}: {typename},')
code.append(f' pub {r["name"].lower()}: {typename},')
else:
addr = reg['abs']
if addr > ending_addr: