diff options
author | Anton Luka Šijanec <anton@sijanec.eu> | 2023-01-31 22:20:06 +0100 |
---|---|---|
committer | Anton Luka Šijanec <anton@sijanec.eu> | 2023-01-31 22:20:06 +0100 |
commit | 4574f3e30600266f11f086f271f370fa54ba107b (patch) | |
tree | 4ae2306dce25b294f113baf4ba54ac31b91bf2e6 | |
parent | NO_HOOKS build (diff) | |
download | ebs-4574f3e30600266f11f086f271f370fa54ba107b.tar ebs-4574f3e30600266f11f086f271f370fa54ba107b.tar.gz ebs-4574f3e30600266f11f086f271f370fa54ba107b.tar.bz2 ebs-4574f3e30600266f11f086f271f370fa54ba107b.tar.lz ebs-4574f3e30600266f11f086f271f370fa54ba107b.tar.xz ebs-4574f3e30600266f11f086f271f370fa54ba107b.tar.zst ebs-4574f3e30600266f11f086f271f370fa54ba107b.zip |
-rw-r--r-- | disass.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -34,6 +34,8 @@ int main (int argc, char ** argv) { } for (unsigned i = 0; i <= 0xffff; i++) { struct inštrukcija š = inštrukcija(&ebs, i); + if (!š.dobesedno) + break; printf("0x%04x\t%s\t0x%02x\t0x%02x\t0x%02x%02x\n", i, operacija_str[š.operacija], š.vir, š.destinacija, š.dobesedno[0], š.dobesedno[1]); } r: |