*----------------------------------------------------------- * Title : * Written by : * Date : * Description: *----------------------------------------------------------- ORG $1000 START: ; first instruction of program * Put program code here MOVE.B N,D0 MOVE.B #0,D1 ; contatore LEA V,A0 loop MOVE.B (A0)+,D2 AND.B #%00000001,D2 BNE disp ADDQ.B #1,D1 disp ADD.B #-1,D0 BGT loop SIMHALT ; halt simulator * Put variables and constants here ORG $2000 N DC.B 5 V DC.B 3,6,1,2,8 END START ; last line of source *~Font name~Courier New~ *~Font size~10~ *~Tab type~1~ *~Tab size~4~