When building a manually crafted em assembly file that does not have "lin" statements em_encode removes all whitespace in the converted file.
Therefore if any error occurs thereafter, such as in em_ass, the incorrect line number shall be displayed. The workaround is to use em_decode on the encoded file to retrieve and find the original line number being referred to in the different tools such em_ass.
When building a manually crafted em assembly file that does not have "lin" statements em_encode removes all whitespace in the converted file.
Therefore if any error occurs thereafter, such as in em_ass, the incorrect line number shall be displayed. The workaround is to use em_decode on the encoded file to retrieve and find the original line number being referred to in the different tools such em_ass.
This is a known limitation of em_encode.