flat assembler
Message board for the users of flat assembler.
Index
> Main > Character Table |
Author |
|
LocoDelAssembly 26 Jun 2010, 17:59
With less code you're implicitly saying small binary as well?
|
|||
26 Jun 2010, 17:59 |
|
Picnic 26 Jun 2010, 18:58
LocoDelAssembly yes, any kind of optimization.
|
|||
26 Jun 2010, 18:58 |
|
LocoDelAssembly 26 Jun 2010, 19:19
Just to make clear why I was asking:
Code: Table: SYMBOLS equ 0 1 2 3 4 5 6 7 8 9 A B C E D F match sym, SYMBOLS{ irps j, sym\{ irps k, sym\\{ db \\`j, \\`k \\} \} } |
|||
26 Jun 2010, 19:19 |
|
Picnic 26 Jun 2010, 23:14
more space indeed, however it's a small nice macro.
A second try, better i think. Code: std mov di, Table+512-1 mov al, 15 .A: mov ah, 15 .B: push ax mov cx, 2 .B0: rol ax, 8 cmp al, 10 sbb al, 69h das stosb loop .B0 pop ax dec ah jge .B dec al jge .A |
|||
26 Jun 2010, 23:14 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.