This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; (40x 2 -23) / x якщо 0 < x ≤ 7 | |
; 38x 3 +5 якщо x ≤ 0 | |
; 126 /x якщо x > 7 | |
;* СОЗДАНИЕ СЕГМЕНТА СТЭКА * | |
STACKSEG SEGMENT PARA "STACK" | |
DW 32 DUP(0) | |
STACKSEG ENDS | |
;* СОЗДАНИЕ СЕГМЕНТА ДАННЫХ * | |
DSEG SEGMENT PARA PUBLIC "DATA" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;* СОЗДАНИЕ СЕГМЕНТА СТЭКА * | |
STACKSEG SEGMENT PARA "STACK" | |
DW 32 DUP(0) | |
STACKSEG ENDS | |
;* СОЗДАНИЕ СЕГМЕНТА ДАННЫХ * | |
DSEG SEGMENT PARA PUBLIC "DATA" | |
; ПРОМЕЖУТОЧНЫЕ ПЕРЕМЕННЫЕ ДЛЯ УРАВНЕНИЙ | |
X DW ? | |
REZ DW ? | |
REZ2 DW ? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;(40x2-23) / x якщо 0 < x ≤ 7 | |
;38x3+5 якщо x ≤ 0 (DICH) | |
;126 / x якщо x > 7 (READY) | |
STACKSEG SEGMENT PARA "STACK" | |
DW 32 DUP(?) | |
STACKSEG ENDS | |
DSEG SEGMENT PARA PUBLIC "DATA" | |
DUMP DB 5, ?, 4 DUP('?') | |
X DB 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
STACKSEG SEGMENT PARA "STACK" | |
DW 32 DUP(?) | |
STACKSEG ENDS | |
DSEG SEGMENT PARA PUBLIC "DATA" | |
NUM DW 0 | |
FL DB 0 | |
MESSAGE DB "PLEASE, ENTER YOUR NUMBER:", '$', 0AH, 0DH | |
DUMP DB 5, ?, 4 DUP('?') | |
DSEG ENDS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
STACKSEG SEGMENT PARA "STACK" | |
DW 32 DUP(?) | |
STACKSEG ENDS | |
DSEG SEGMENT PARA PUBLIC "DATA" | |
NUM DW 0 | |
FL DB 0 | |
MESSAGE DB "PLEASE, ENTER YOUR NUMBER:", '$', 0AH, 0DH | |
DUMP DB 5, ?, 4 DUP('?') | |
DSEG ENDS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
STACKSEG SEGMENT PARA "STACK" | |
DW 32 DUP(?) | |
STACKSEG ENDS | |
DSEG SEGMENT PARA PUBLIC "DATA" | |
NUM DW 0 | |
MESSAGE DB "PLEASE, ENTER YOUR NUMBER:", '$', 0AH, 0DH | |
DUMP DB 5, ?, 4 DUP('?') | |
DSEG ENDS |
NewerOlder