]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Don't allow immediate values of 0 for operations that can take either an
authorken <ken@FreeBSD.org>
Wed, 4 Apr 2001 22:50:57 +0000 (22:50 +0000)
committerken <ken@FreeBSD.org>
Wed, 4 Apr 2001 22:50:57 +0000 (22:50 +0000)
commitd5dead39709dcee38811dc4233580bdc17e9cc10
treefe4eb88e87bc3ddadefe6545acfba7b4ed4a310f
parent44f132def73a73ef49478fd52284a38cb165cb63
Don't allow immediate values of 0 for operations that can take either an
immediate value or the accumulator.  0 is the chip's internal
representation for the accumulator, and so 0 is an invalid immediate value
when the accumulator can also be specified as an argument.

Submitted by: gibbs
sys/dev/aic7xxx/aicasm/aicasm_gram.y