Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende Überarbeitung | |||
software:deep:rts:hardware [2013-11-18 12:29] – leander | software:deep:rts:hardware [Unbekanntes Datum] (aktuell) – gelöscht - Externe Bearbeitung (Unbekanntes Datum) 127.0.0.1 | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
- | ====== Accessing the hardware ====== | ||
- | Java was developed as a save language. That is it does not allow direct access and manipulation of absolute memory locations. Nevertheless this is essential for embedded programming. We therefore include this possibility by the use a special Java class //US.java// (US stand for // | ||
- | By using US.java you can | ||
- | * read from absolute memory locations (1, 2, 4, 8 bytes) | ||
- | * write to absolute memory locations (1, 2, 4, 8 bytes) | ||
- | * test a bit at an absolute memory location | ||
- | * read and write directly to machine registers (GPRs, FPRs, SPRs) | ||
- | * directly insert machine code | ||
- | * get the address of a static method at compile time | ||
- | * enable the use of floats for exception routines | ||
- | |||
- | The API of US.java can be found here: [[http:// |