blob: a5088eb4574260e5954e48892fea8a71f69db827 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
namespace;
include rt;
/* adds a memory offset to an address. */
int offset_address(int address) {
return address + /* offset in memory */ 0x40ff;
}
fn main() {
rt.put_n(offset_address(1)); rt.put_c(10);
}
|