Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SymbolAlignment Error #1

Open
tomdean1939 opened this issue Jun 29, 2023 · 0 comments
Open

SymbolAlignment Error #1

tomdean1939 opened this issue Jun 29, 2023 · 0 comments

Comments

@tomdean1939
Copy link

tomdean1939 commented Jun 29, 2023

Thanks for the easier to use assembler.
I have a symbol alignment error with a simple example

> au arm32-m b.s b.zn
> zn arm32 b.zn b.bin 
error: symbol 'reset_clr' out of alignment
> cat b.s
	; gpio reset clear
	ldr r0, *reset_clr
	mov r1, 32
	str r1, (r0, 0) ; reset

	ldr r0, *reset_rw
*rst_gpio
	ldr r2, (r0, 2)
	and r2, r1

*reset_clr
	~byt4 0x4000f000

*reset_rw
	~byt4 0x4000f000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant