MarSoft / pebble-firmware-utils

Some tools used for Pebble firmware.
GNU General Public License v2.0
139 stars 12 forks source link

Patcher: support arithmetic expressions for both labels and numbers #5

Open MarSoft opened 10 years ago

MarSoft commented 10 years ago

This might imply common superclass for label and number, with methods like val(bits,shift); it may allow using labels instead of numbers in many additional contexts. But maybe limit with Num+Num & Num-Num expressions, in addition to Label+Num (implemented) and Label-Num.