> 0032: 75 90 F1 mov p1,#$F1 > 0035: 75 B0 EB mov p3,#$EB > 0038: 78 7F mov r0,#$7F > 003A: 76 00 mov @r0,#$00 > 003C: D8 FC djnz r0,$003A > 003E: 75 81 68 mov sp,#$68 > 0041: D2 65 setb $2C.5 > 0043: 12 10 89 lcall $1089 > 0046: 12 11 4D lcall $114D > 0049: 12 11 8E lcall $118E > > Dose "$" tell me it is HEX? Why not "#F1H" for "#$F1"?
$ means hex # means literal, as apposed to a memory address
English is read left to write, having $ at the beginning means that you know that it's hex before you read the hex number. Having it at the end you might have to go back and re-read the number. Because hex numbers include A-F then using H will merge into the number and make it harder to read.
I imagine these perceptual queues are stronger if English is your first language.
My brain seems wired to read logic in C code as English too, for people who don't follow this (either non-English speakers or people who don't try to read their code) I find it harder because of grammatical issues like double negatives.
Edited by smf (03/04/14 10:58 AM)
|