Get DASM_SECTION argument from the correct place.

This commit is contained in:
Michael Munday 2016-12-02 15:30:09 -05:00
parent 17d91e2f0c
commit 9745e9df26

View File

@ -204,7 +204,7 @@ void dasm_put(Dst_DECL, int start, ...)
case DASM_STOP:
goto stop;
case DASM_SECTION:
n = (ins & 255);
n = *p++ & 255;
CK(n < D->maxsection, RANGE_SEC);
D->section = &D->sections[n];
goto stop;