![:)](./images/smilies/icon_smile.gif)
форумчанин Vasil Ivanov сделал ещё в 2005 году
![:roll:](./images/smilies/icon_rolleyes.gif)
Moderator: Shaos
Code: Select all
push af,bc,de,hl
inc de,hl
Макроассемблер проглотит, если оформить:shiny wrote:Кстати, раз на ужасме сидят некоторые кодеры,то zasm проглотит?Code: Select all
push af,bc,de,hl inc de,hl
Code: Select all
pushr MACRO str ;;push registers
IFNB <str>
IRP src,<str>
push src
ENDM
ENDIF
ENDM
Перенёс про асмы из nedoPC SDK сюда...shiny wrote:Куда-то мы завернули не туда(:
Это не баги, это фичиshiny wrote:http://48k.ca/zmac.html
Как-то интересно - ассемблер развивается сам, но в новых версиях те же баги.
Code: Select all
...
* cdk 2-5-87 Added 'cmp' as a synonym for 'cp', 'jmp' as a synonym for
* 'jp', and added tolerance of accumulator specification for arithmetic
* and logical instructions. (For example, 'or a,12' is now accepted,
* same as 'or 12'.)
*
* gwp 12-29-08 Changes to allow compilation with modern C compiler and using bison
* as the .y to .c converter. assert, tstate pseudo-ops.
* t(), tilo(), tihi() functions. ==, <=, >=, !=, !, <, > operators.
* -c to turn cycle counts off in listing. Usage, -h and version.
...
поздравляю, это второй недоассемблер.Shaos wrote:а я буду оставаться в рамках нашей старой-доброй версии 1.33