adt_QueueBack.asm
bitfixer_bitfixer/dg/z88dk/libsrc/adt/queue/adt_QueueBack.asm
; void *adt_QueueBack(struct adt_Queue *q)
; 09.2005 aralbrec

PUBLIC adt_QueueBack
EXTERN adt_QueueFront

; enter: HL = struct adt_Queue *
; exit : HL = peek at last item or 0 and carry reset if queue empty

.adt_QueueBack

   inc hl
   inc hl
   jp adt_QueueFront
