Re: LF: programming command


[Prev][Next][Index][Thread]

Re: LF: programming command



Take this example:

Start:
	Moveq	#7,D7
	Moveq	#0,D0
.Loop:
	Addq.l	#1,D0
	Dbra	D7,.Loop
	Rts

This programs runs through the Loop part of the code 8 times, then goes
on. the value after the loop will be $ffff. Then end result in d0 will be
8.

Michael Wulff Nielsen
mal@dit.ou.dk

On Tue, 17 Dec 1996, Jake Robb wrote:

> Can someone tell me what the dbra command means?  And please, no silly
> jokes about girlfriends.  I've heard them.  Ha ha.
> 
> Thanks
> -- 
> Jake Robb
> 


References: