1SECTION "test", ROM0 2 3 newcharmap foo 4 5 charmap "<START>", $00 6 charmap "<RAM>", $01 7 charmap "<WAIT>", $02 8 charmap "<ASM>", $03 9 charmap "<NUM>", $04 10 charmap "<EXIT>", $05 11 charmap "<SOUND>", $06 12 charmap "<DAY>", $07 13 charmap "<FAR>", $08 14 15 ; At this point, enough nodes were allocated for 'foo' to be reallocated. 16 ; Its value in the charmaps' hashmap should have been updated too, 17 ; so that usages of 'foo' will not segfault. 18 19 ; This uses 'foo; by switching to it. 20 setcharmap foo 21 22 ; This uses 'foo' by deriving another charmap from it. 23 newcharmap bar, foo 24