по ВМСиС транслятор кода KR580
.htmPretty i8080 Assembler html { } body {font-size:small; background-color: white; } .hordiv { width:80%; text-align: left; border-bottom:2px solid black;} .code { font-family: monospace; } pre { margin-top:0ex; margin-bottom:0ex; } .highlight0 { border:none; background-color: transparent; } .highlight1 { background-color: wheat; border: 1px dotted red; margin:-1px -1px -1px -1px;} .highlight2 { background-color: white; border: 2px solid red; margin:-2px -2px -2px -2px;} .highlight3 { background-color: yellow; border: 1px solid pink; margin:-1px -1px -1px -1px;} .srchl0 { border:none; background-color: transparent; } .srchl1 { background-color: wheat; border: 1px dotted red; margin:-1px -1px -1px -1px;} .srchl2 { background-color: white; border: 2px solid red; margin:-2px -2px -2px -2px;} .srchl3 { background-color: yellow; border: 1px solid pink; margin:-1px -1px -1px -1px;} .errorline { background-color: pink; } .d1 { padding-right:0.5em; background-color: #f0f0f0; display:inline;} .d0 { padding-right:0.5em; background-color: #e0ffff; display:inline;} #header { font-family:Gill Sans, Franklin Gothic Medium, sans-serif; font-size:150%; font-weight:bold; background-color:maroon; color:white; padding:5px 5px 2px 5px; border-bottom: 1px dotted darkgray; user-select:none; -moz-user-select: none; -khtml-user-select: none; } #toolbar { float:right; font-family:Gill Sans, Franklin Gothic Medium, sans-serif; font-size:150%; font-weight:bold; background:transparent; color:white; padding:5px 1em 2px 1em; opacity:0; user-select:none; -moz-user-select: none; -khtml-user-select: none; } #baton { cursor:pointer; font-family:Gill Sans, Franklin Gothic Medium, sans-serif; border: 1px solid black; display: inline-block; font-weight:bold; font-variant: small-caps; letter-spacing: 0.4ex; padding-left:10px; padding-right:10px; padding-top:2px; color: white; background-color: black; color: white; background-color: black; margin-top:0.65ex; user-select:none; -moz-user-select: none; -khtml-user-select: none; } #textinput { overflow:hidden; white-space:nowrap;} #source { font-family:monospace; font-size:100%; margin:0px 0px 0px 0px; padding:0px 0px 0px 5px; width:100%; border: 1px solid black; border-top: 1px dotted darkgray; } #ta { display: inline-block; float:left; width:39%; direction:ltr; } #list { direction:ltr; float:right; border: 1px solid black; border-top: 1px dotted darkgray; vertical-align:top; width:40em; padding-left:1ex; overflow:scroll; display:inline-block; width:60%; } .uarr1 { top:2px; font-family:monospace; font-size:90%; font-weight:bold; position:relative; color:#fff0f0; opacity:0; } .uarr2{ top:1px; font-family:monospace; font-size:90%; font-weight:bold; position:relative; color:#ffa0a0; opacity:0.4; } .uarr3 { top:0px; font-family:monospace; font-size:90%; font-weight:bold; position:relative; color:#b00000; opacity:0.8; } .darr1 { font-family:monospace; font-size:90%; font-weight:bold; position:relative; color:#fff0f0; opacity:0; } .darr2{ font-family:monospace; font-size:90%; font-weight:bold; position:relative; color:#ffa0a0; opacity:0.4; } .darr3 { font-family:monospace; font-size:90%; font-weight:bold; position:relative; top:1px; color:#b00000; opacity:0.8; } #backrefpopup { border:2px solid #ffff7d; background:#ffff7d; font-size:75%; font-family:monospace; opacity:0.9; max-width:30em; overflow:hidden; } .brmenuitem { background:transparent; cursor:pointer; user-select:none; -moz-user-select: none; -khtml-user-select: none; } .brmenuitem:hover { background:maroon; color:white; } span.l { cursor:default; } span.t1 { padding-right:1em;padding-left:0.4em; border-right:1px solid lightgray; cursor:pointer; } span.t2 { padding-right:1em;padding-left:0.4em; cursor:pointer; } span.t1:hover { background:#ffff7d; } span.t2:hover { background:#ffff7d; } ◀ Прекрасный ассемблер КР580ВМ80А … ; i8080 assembler code .hexfile test.hex .binfile test.bin .objcopy gobjcopy .postbuild echo "Hooray!" ;.nodump bdos equ 5 intv equ 38h .org 100h jmp begin db 27 msg: db 'Assembled by Pretty i8080 Assembler',0dh,0ah,'$' yeah: db 'Hoorj!',0dh,0ah,'$' begin: lxi d, msg mvi c, 9 call bdos call delay mvi c, 9 lxi d, yeah call bdos ret delay: mvi a, 33 hlt dcr a jnz .-2 ret
