View Javadoc

1   package com.tapina.robe.swi.clib.roslib;
2   
3   /***
4    * This function calls a SWI , whose number is given in a1. The registers R0-R9 are set to and returned in the values in a2.
5    * If an error occurs it is reported by the operating system and your program will halt execution.
6    * The error will be thrown as a RuntimeException.
7    */
8   public class SWI extends SWIX {
9       int getSWINumber(int[] R) {
10          return R[0];
11      }
12  }