comparison python/target/arm.brg @ 336:d1ecc493384e

Added spiffy armtoken class for bit fiddeling. Added cool test that checks for build repeatability
author Windel Bouwman
date Wed, 19 Feb 2014 22:32:15 +0100
parents e9fe6988497c
children 4d204f6f7d4e
comparison
equal deleted inserted replaced
335:582a1aaa3983 336:d1ecc493384e
2 from target.basetarget import Label, Comment, Alignment, LabelRef, DebugInfo, Nop 2 from target.basetarget import Label, Comment, Alignment, LabelRef, DebugInfo, Nop
3 from target.arminstructions import Orr, Lsl, Str2, Ldr2, Ldr3 3 from target.arminstructions import Orr, Lsl, Str2, Ldr2, Ldr3
4 from target.arminstructions import B, Bl, Bgt, Blt, Beq, Bne 4 from target.arminstructions import B, Bl, Bgt, Blt, Beq, Bne
5 from target.arminstructions import Mov2, Mov3 5 from target.arminstructions import Mov2, Mov3
6 from target.arminstructions import Add, Sub, Cmp, Sub2, Add2, Mul 6 from target.arminstructions import Add, Sub, Cmp, Sub2, Add2, Mul
7 from ppci import ir
7 8
8 %% 9 %%
9 10
10 %terminal ADDI32 SUBI32 MULI32 11 %terminal ADDI32 SUBI32 MULI32
11 %terminal ORI32 SHLI32 12 %terminal ORI32 SHLI32