blob: 97114304cc63a89898bad205d91fee3ea98b11fa [file] [log] [blame]
! Tests for complex immediate expressions.
.text
bar:
moviq r1, 0
subi r1, (. - bar + 8)
addi r1, bar
moviq r4, (bar - . -8) & 0xffff
.space 4096
moviq r6, (. - bar - 8) & 0xff
moviq r7, (bar - . -8) & 0xff