If you mean the x like:
Code:
sub r5, #0x10
sub r1, #0x10
That x is basically a notation used to show that its in hex because you could do this:
Code:
sub r5, #16
sub r1, #16
Its still telling the code to subtract r5 and r1 by the same amount since 0x10[hex]=#16[decimal]
But for a simple item slot code, I would do this:
Code:
ldr r0, InventorySlot1 //load the inventory slot1
ldrh r1, BlueFeather //since items are 16bits, load the value with ldrh
strh r1, [r0] //store the bluefeather into inventoryslot1 and use strh since the bluefeather is a 16bit we store the 16bit
bx lr //End the Code
InventorySlot1:
.long 0x21D88FE //Define the Literals, for acww 1.0 this is the first slot of the inventory address
BlueFeather:
.short 0x13FF //this is the blue feather hex
(It would be best to use ards codetypes for simple one line codes though)