asm,parser: replaced int with long where it caused problems on 32bits machine