EASy68K
http://www.easy68k.com/EASy68Kforum/

scanning keypad progrm help
http://www.easy68k.com/EASy68Kforum/viewtopic.php?f=5&t=901
Page 1 of 1

Author:  markyvez [ Fri Sep 17, 2010 12:57 pm ]
Post subject:  scanning keypad progrm help

MOVE.B #1,PBDR
MOVE.B PBDR,D1
ANDI.B #$80,D1



sir pls help . i cant understand the andi.b command. kindly explain

thanks.

Author:  profkelly [ Fri Sep 17, 2010 7:43 pm ]
Post subject: 

ANDI.B #$80,D1

Does a binary AND of the hex number $80 and the lower byte of register D1.

$80 & D1

or in binary

10000000 & D1

The result is stored in D1.B

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/