Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
10
Task/Host-introspection/XPL0/host-introspection.xpl0
Normal file
10
Task/Host-introspection/XPL0/host-introspection.xpl0
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
include c:\cxpl\codes; \intrinsic 'code' declarations
|
||||
int A, B;
|
||||
char C;
|
||||
[IntOut(0, @B-@A); CrLf(0); \word size = integer size
|
||||
A:= $1234;
|
||||
C:= @A;
|
||||
Text(0, if C(0)=$34 then "Little" else "Big");
|
||||
Text(0, " endian
|
||||
");
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue