Skip to content
Snippets Groups Projects
Commit e7c56595 authored by Nguyen Anh Quynh's avatar Nguyen Anh Quynh
Browse files

regress: use '\n' but not ';' for instruction separation for NASM syntax

parent 18101e14
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,7 @@ class TestX86Nasm(regress.RegressTest):
def runTest(self):
ks = Ks(KS_ARCH_X86, KS_MODE_32)
ks.syntax = KS_OPT_SYNTAX_NASM
encoding, count = ks.asm(b"call label; label:")
encoding, count = ks.asm(b"call label\n label:")
self.assertEqual(encoding, [ 0xe8, 0x00, 0x00, 0x00, 0x00 ])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment