diff --git a/dynasm/dasm_s390x.lua b/dynasm/dasm_s390x.lua index f8c45fa8..9b9d3f4c 100644 --- a/dynasm/dasm_s390x.lua +++ b/dynasm/dasm_s390x.lua @@ -117,7 +117,7 @@ local function waction(action, val, a, num) wputxhw(w) if val then wputxhw(val) end -- Not sure about this, do we always have one arg? if a then actargs[#actargs+1] = a end - if a or num then secpos = secpos + (num or 1) end + if val or a or num then secpos = secpos + (num or 1) end end -- Flush action list (intervening C code or buffer pos overflow).