blob: 8c916f6eb3b91299aa05a8e7cd060b74d8e534bc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
namespace Q1.core.Arch;
public static class ChipLayout
{
public const u16 MEMORY_START = 0x0000;
public const u16 MEMORY_SIZE = 0xFF00; // 64KB - 256 bytes reserved for stack
public const u16 STACK_START = ChipLayout.MEMORY_START;
public const u16 STACK_SIZE = 256 * 2; // 256 words (512 bytes)
public const u16 PROGRAM_START = ChipLayout.MEMORY_START + ChipLayout.STACK_SIZE;
}
|