move external sigs to zasm.h
put double () around assignment that is conditional

Signed-off-by: James Rubingh <james@wrive.com>