gateware

A collection of little open source FPGA hobby projects
git clone http://frotz.net/git/gateware.git
Log | Files | Refs | README

005-shift-ops.s (196B)


      1 mov r0, 0x4321
      2 shr r1, r0, 4
      3 shr r2, r1, 4
      4 shr r3, r2, 4
      5 shr r4, r0, 1
      6 shr r5, r4, 1
      7 shr r6, r5, 1
      8 shr r7, r6, 1
      9 nop
     10 halt
     11 
     12 ;R0 4321
     13 ;R1 0432
     14 ;R2 0043
     15 ;R3 0004
     16 ;R4 2190
     17 ;R5 10c8
     18 ;R6 0864
     19 ;R7 0432
     20