2011-07-02 | Paul Boddie | file changeset files shortlog | Moved some code generation methods into a new Assembler class. Separated sequence element storage into a separate method which may form the basis of a native library routine. |
paul@259 | 1 | #!/usr/bin/env python |
paul@259 | 2 | |
paul@259 | 3 | a = 1 |
paul@259 | 4 | b = 2 |
paul@259 | 5 | c = 3 |
paul@259 | 6 | |
paul@259 | 7 | result_0 = a & b |
paul@259 | 8 | result_1 = a | a & b |
paul@259 | 9 | result_2 = b & c |
paul@259 | 10 | result_3 = a | b |
paul@259 | 11 | |
paul@259 | 12 | # vim: tabstop=4 expandtab shiftwidth=4 |