'Pops from the stack and returns the popped thing. The length will be the architecture word size.'

@arch_overrideable
def stack_pop(self):

    sp = self.regs.sp
    self.regs.sp = (sp - self.arch.stack_change)
    return self.memory.load(sp, (self.arch.bits / 8), endness=self.arch.memory_endness)
