Changeset 1630:d0efa3ae5522
- Timestamp:
- 04/23/11 16:57:32 (1 year ago)
- Tags:
- Files:
-
- run/mini/naked_asm5.d (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
run/mini/naked_asm5.d
r1628 r1630 20 20 const OP = (op == '+') ? "add" : "sub"; 21 21 asm { naked; } 22 mixin("asm{"~OP~" E SI,EDI; mov EAX, ESI;}");22 mixin("asm{"~OP~" EDI,ESI; mov EAX, EDI;}"); 23 23 asm { ret; } 24 24 }
