MalenkayaStervochka
28.10.2021 10:07

Шығарылу жолын айтып жіберіңдерш

Нажмите на рекламу ниже и сразу увидите ответ
↓
Популярные вопросы:
Ответ:
Ада20000
23.05.2021 16:33

1 - CPU

2 - Technological advancement

3 - PROLOG //хотя страшно представить себе, чтоб сейчас кто-то его использовал

4 - Loud speaker

5 - Interface

6 - Supercomputers

7 - Pascal

8 - American standard code for information interchange

9 (1) - Software tool

9 - Plotter

10 - Computer literacy

11 - ICTs

12 - LOGO

13 - Modulator

14 - Communication is sumply the act of transferring information from one place to another

15 - WinRAR

16 - Antivirus software

17 - Software consists of a series of related instructions, organized for a common purpose, that tells the computer what tasks to perform and how to perform them

19 - File name and extension

20 - Two

0,0(0 оценок)
Ответ:
Начинайко
08.03.2021 14:23

Например на ассемблере в синтаксисе fasm под дос:

 

org 100h

mov si,string

cld
mov cx,16
xor ax,ax
mov ah,02h
xor bx,bx

m1:
mov dl,[si]
push cx

mov cx,10
mov di,num
m2:
cmp dl,[di]
jnz m3
;int 21h
sub dl,30h
add bl,dl
m3: inc di
loop m2

pop cx
inc si
loop m1

xor ax,ax
mov al,bl
mov bx,10
xor cx,cx

m4:
xor dx,dx
div bx
push dx
inc cx
cmp ax,0
jnz m4

m5:
pop dx
add dx,30h
mov ah,2h
int 21h
dec cx
jnz m5

mov ah,01h
int 21h

mov ax,4C00h
int 21h

string db "1nr112t3brj9me18",0
num db "0123456789",0

 

Для строки "1nr112t3brj9me18" сумма будет равна 26.

0,0(0 оценок)
Полный доступ
Позволит учиться лучше и быстрее. Неограниченный доступ к базе и ответам от экспертов и ai-bota Оформи подписку
logo
Начни делиться знаниями
Вход Регистрация
Что ты хочешь узнать?
Спроси ai-бота