finished assembly generator for add and sub, both local and global