All my code works but how do I substitute $30 with my TEMP

one of my request to get start information:

SEROUT2 TX, baudrate, ["ENTER HOUR (HH):",13]
SERIN2 RX, Baudrate, [DEC2 TEMP]

writing it to the ds1302:

HIGH RST ' Activate the DS1302
SHIFTOUT DG, CLK, 0, [$84] ' Send write hour
SHIFTOUT DG, CLK, 0, [$30] ' Send hours
LOW RST
tried a lot of different solutions , but none worked
thanks for the any help
Robb