sram.list 598 B

12345678910
  1. 10010000000000000000000000001000 //Jump to constant address 4
  2. 10010000000000000000000000010010 //Jump to constant address 9
  3. 10010000000000000000000000001000 //Jump to constant address 4
  4. 10010000000000000000000000001000 //Jump to constant address 4
  5. 00011100000000000000010100010001 //Set r1 to 5
  6. 00011100000000000000011100100010 //Set r2 to 7
  7. 00000011000000000000000100100011 //Compute r1 + r2 and write result to r3
  8. 11010000000000100101000000110000 //Write value in r3 to address in r0 with offset 37
  9. 11111111111111111111111111111111 //Halt
  10. 01000000000000000000000000000000 //Return from interrupt