+/* if(a->wordv[a->length_B-1]<0x10){
+ cli_putc(hexdigit_tab_uc[a->wordv[a->length_B-1]]);
+ cli_hexdump_rev(a->wordv, a->length_B-1);
+ } else {
+*/
+ // cli_hexdump_rev(a->wordv, a->length_B*sizeof(bigint_word_t));
+// }
+ uint32_t idx;
+ uint8_t print_zero=0;
+ uint8_t *p,x,y;
+ p = (uint8_t*)&(a->wordv[a->length_B-1])+sizeof(bigint_word_t)-1;
+ for(idx = a->length_B * sizeof(bigint_word_t); idx > 0; --idx){
+ x = *p >> 4;
+ y = *p & 0xf;
+ if(x!=0 || print_zero!=0){
+ cli_putc(pgm_read_byte(&hexdigit_tab_lc_P[x]));
+ }
+ if(x){
+ print_zero = 1;
+ }
+ if(y!=0 || print_zero!=0){
+ cli_putc(pgm_read_byte(&hexdigit_tab_lc_P[y]));
+ }
+ if(y){
+ print_zero = 1;
+ }
+ --p;