Vocabularycpu.
architectureInputssrc | a register symbol |
slot | a register symbol |
scale | an integer |
tag | an integer |
temp1 | a register symbol |
temp2 | a register symbol |
OutputsNone
Word descriptionGenerates code for the
##write-barrier instruction.
ExamplesUSING: cpu.architecture make tools.disassembler ;
init-relocation [ RAX RBX 3 -14 RCX RDX %write-barrier ] B{ } make disassemble
000000000143f960: 488d4cd80e lea rcx, [rax+rbx*8+0xe]
000000000143f965: 48c1e908 shr rcx, 0x8
000000000143f969: 48ba0000000000000000 mov rdx, 0x0
000000000143f973: 48c60411c0 mov byte [rcx+rdx], 0xc0
000000000143f978: 48c1e90a shr rcx, 0xa
000000000143f97c: 48ba0000000000000000 mov rdx, 0x0
000000000143f986: 48c60411c0 mov byte [rcx+rdx], 0xc0
DefinitionMethods