十六進(jìn)制轉(zhuǎn)ascii碼算法 十六進(jìn)制數(shù)轉(zhuǎn)換成ascii碼有什么簡單的方法?
十六進(jìn)制數(shù)轉(zhuǎn)換成ascii碼有什么簡單的方法?Hasc:mov a,R0;獲取十六進(jìn)制(二進(jìn)制)數(shù)(0-F)anl a,?0Fh from R0;阻止高4位push ACC;將4位二進(jìn)制數(shù)放入CLR
十六進(jìn)制數(shù)轉(zhuǎn)換成ascii碼有什么簡單的方法?
Hasc:mov a,R0;獲取十六進(jìn)制(二進(jìn)制)數(shù)(0-F)anl a,?0Fh from R0;阻止高4位push ACC;將4位二進(jìn)制數(shù)放入CLR C;清除(借用)位sub a,#0ah pop ACC JC loop Add a,