Skip to content

Commit

Permalink
added missing brackets to RSH template
Browse files Browse the repository at this point in the history
  • Loading branch information
seanwlx committed Apr 23, 2012
1 parent 62ecf9b commit a038ebf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dcpu16.md
Expand Up @@ -395,8 +395,8 @@ reg: RSHI1(reg,reg) "?SET %c, %0\nSHR %c, %1\n" ncregop(a, 3
reg: RSHU1(reg,reg) "?SET %c, %0\nSHR %c, %1\n" ncregop(a, 3)
reg: RSHI1(bval,reg) "SET I, %1\nSET %c, %0\nSHR %c, I\n" 4
reg: RSHU1(bval,reg) "SET I, %1\nSET %c, %0\nSHR %c, I\n" 4
stmt: ASGNI1(addr,RSHI1(bval,bval)) "SHR %0, %2\n" memop(a, 2)
stmt: ASGNU1(addr,RSHU1(bval,bval)) "SHR %0, %2\n" memop(a, 2)
stmt: ASGNI1(addr,RSHI1(bval,bval)) "SHR [%0], %2\n" memop(a, 2)
stmt: ASGNU1(addr,RSHU1(bval,bval)) "SHR [%0], %2\n" memop(a, 2)
stmt: ASGNI1(addr,RSHI1(bval,bval)) "SET [%0], %1\nSHR %0, %2\n" ncmemop(a, 3)
stmt: ASGNU1(addr,RSHU1(bval,bval)) "SET [%0], %1\nSHR %0, %2\n" ncmemop(a, 3)
stmt: ASGNI1(addr,RSHI1(bval,mem)) "SET I, %2\nSET [%0], %1\nSHR [%0], I\n" 4
Expand Down

0 comments on commit a038ebf

Please sign in to comment.