asm/assemble.c: correct the listing address for TIMES
commit440ba7e13eeb02c441e75e62e2daa91085c113ce
authorH. Peter Anvin <hpa@zytor.com>
Mon, 1 May 2017 22:34:00 +0000 (1 15:34 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Mon, 1 May 2017 22:39:15 +0000 (1 15:39 -0700)
treea2b8a5dec2b782b5aa76681da3bfef961796c0ce
parent571592ea63dc6ffcd4b79a168bfb9f30f796e02b
asm/assemble.c: correct the listing address for TIMES

We need to set the listing offset before calling LIST_TIMES, but we
had already advanced data.offset by calling out().  Move the call to
lfmt->set_offset() and lfmt->uplevel() to the top and out of the loop;
there is no reason for it to be in the loop in the first place.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
asm/assemble.c