diff options
-rw-r--r-- | assemble.c | 3 | ||||
-rw-r--r-- | parser.c | 5 |
2 files changed, 7 insertions, 1 deletions
@@ -325,7 +325,8 @@ int64_t assemble(int32_t segment, int64_t offset, int bits, uint32_t cp, OUT_RAWDATA, 1, NO_SEG, NO_SEG); } } else if (wsize > 8) { - errfunc(ERR_NONFATAL, "integer supplied to a DT, DO or DY" + errfunc(ERR_NONFATAL, + "integer supplied to a DT, DO or DY" " instruction"); } else out(offset, segment, &e->offset, @@ -401,6 +401,11 @@ restart_parse: case I_DO: eop->stringlen = 16; break; + case I_DY: + error(ERR_NONFATAL, "floating-point constant" + " encountered in DY instruction"); + eop->stringlen = 0; + break; default: error(ERR_NONFATAL, "floating-point constant" " encountered in unknown instruction"); |