blob: 9468cc527d0cb73d6ee3fd7edb778f5995805150 (
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);
}
|