oasm 0.1.3__py3-none-any.whl → 0.1.4__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
oasm/__init__.py CHANGED
@@ -1158,7 +1158,7 @@ class plus_minus:
1158
1158
  if type(x) is expr:
1159
1159
  if len(x) > 0 and x[:][0] is plus:
1160
1160
  t = x[:][1]
1161
- (term if type(t[0]) is expr else atom).append(t[0])
1161
+ (term if type(t[0]) is expr else atom).append(-t[0] if sub else t[0])
1162
1162
  (term if type(t[1]) is expr else atom).append(-t[1] if sub else t[1])
1163
1163
  else:
1164
1164
  term.append(-x if sub else x)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: oasm
3
- Version: 0.1.3
3
+ Version: 0.1.4
4
4
  Summary: Open ASseMbly tools
5
5
  Author-email: nzturn <nzturn@gmail.com>
6
6
  Keywords: asm,dsl
@@ -0,0 +1,5 @@
1
+ oasm/__init__.py,sha256=7Ysrt9CdNWtMfyils2KYpiCQFXPMRlv2xCeCSBhnUgw,66722
2
+ oasm-0.1.4.dist-info/METADATA,sha256=tRmbpeCw5wkLjWpMpRYWd5FvdNY4iFehe_kj_9jxkCo,370
3
+ oasm-0.1.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
4
+ oasm-0.1.4.dist-info/top_level.txt,sha256=EacQcwgujQK1Vg--A4w6awZ2LPUTDx7kHNRd9BsavOc,5
5
+ oasm-0.1.4.dist-info/RECORD,,
@@ -1,5 +0,0 @@
1
- oasm/__init__.py,sha256=S3K4YGKR7RUijQDSCEhSdpD49TNxomWHfuZrnaeZGZk,66704
2
- oasm-0.1.3.dist-info/METADATA,sha256=SM5AUPPVDPd73O1qgHVW0mgVsLZnGhY5d3Hd6IRArs0,370
3
- oasm-0.1.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
4
- oasm-0.1.3.dist-info/top_level.txt,sha256=EacQcwgujQK1Vg--A4w6awZ2LPUTDx7kHNRd9BsavOc,5
5
- oasm-0.1.3.dist-info/RECORD,,
File without changes