Create an object at a given address: Difference between revisions

Content deleted Content added
=={{header|Pascal}} added
Petelomax (talk | contribs)
Line 396:
0 1 2 3 4 5 6 7
506097522914230528</pre>
=={{header|Phix}}==
Phix does not support creation of a "language object" at a specific address, but you can peek and poke bytes, words, dwords and qwords
to any address, as long as doing so does not trigger a hardware exception. You could also use inline assembly, if that helps any.
<lang Phix>poke(0x80,or_bits(peek(0x80),0x40))
#ilASM{ mov al,[0x80]
or al,0x40
mov [0x80],al}</lang>
 
=={{header|PicoLisp}}==
<lang PicoLisp>: (setq IntSpace 12345) # Integer
Line 408 ⟶ 416:
: IntSpace # Show the new value
-> 65535</lang>
 
=={{header|PureBasic}}==
<lang PureBasic>; Allocate a 1Mb memory area work within to avoid conflicts,