I get an asm file fine but it will not make a hex file, the gpasm batch shows errors but auto closes to fast to read them:

#chip 16f688, 8 'mhz
#config INTRC_OSC_NOCLKOUT, MCLRE=off, WDT=off

lcdcon = 0
#define USART_BLOCKING
#define SerInPort PORTc.5
#define SerOutPort PORTc.4
#define USART_BAUD_RATE 2400 'the speed you want
InitUsart
On Interrupt UsartRX1Ready call getdata 'info

dir portc.0 out '3ms min pulse for reliable running
dir portc.1 out
dir portc.2 out
dir portc.3 out
dir porta.3 in 'stop switch
dir portc.4 out 'serial tx
dir portc.5 in 'serial rx
dim xlt as word
dim xrt as word
dim bob as word
xlt = 0
xrt = 0
bob = 0
wait 2 s
zlocfind
wait 2 s

main:
if bob = 49 then
xrt = bob - 48
xrt = xrt +10
gort
end if
goto main

sub getdata
HSerReceive bob
end sub

sub golt
repeat xlt
set portc.0 on
wait 3 ms
set portc.0 off
set portc.1 on
wait 3 ms
set portc.1 off
set portc.2 on
wait 3 ms
set portc.2 off
set portc.3 on
wait 3 ms
set portc.3 off
end repeat
xlt = 0
bob = 0
end sub

sub gort
repeat xrt
set portc.3 on
wait 3 ms
set portc.3 off
set portc.2 on
wait 3 ms
set portc.2 off
set portc.1 on
wait 3 ms
set portc.1 off
set portc.0 on
wait 3 ms
set portc.0 off
end repeat
xrt = 0
bob = 0
end sub

sub zlocfind
do until porta.3 off
set portc.0 on
wait 3 ms
set portc.0 off
set portc.1 on
wait 3 ms
set portc.1 off
set portc.2 on
wait 3 ms
set portc.2 off
set portc.3 on
wait 3 ms
set portc.3 off
loop
end sub