English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

i want to make a binary program that a computer can read, or input binary data to make a simple program

2006-09-05 15:48:59 · 4 answers · asked by whitewingjek 3 in Computers & Internet Programming & Design

4 answers

First you need to get a book that lists all of the assembly commands for the processor you are using. The book should list the binary code for each command (opcode), and what else is required for that command (operand). Then you need the memory map for all of the internal registers. For instance in intel 8 bit assembly, the binary equivelant for MOV A,#00H (move 0 to the accumulator) is 0x74, 0xE0, 0x00 (or in binary 0111 0100 1110 0000 0000 0000).

Are you sure you want to do this??? Just write it in assembly and let the assembeler convert it to binary.

2006-09-06 02:25:04 · answer #1 · answered by justme 7 · 0 0

First, you must understand how to convert letters or characters to binary code. There are 255 characters the PC is based on. Each character has a number it represents called ASCII code. The ASCII code will be an integer ranging from 1-255. Thats the number you must convert to binary.

2006-09-05 22:51:44 · answer #2 · answered by fscarberry20 3 · 0 0

Binary programs are for people who can't make up their minds. Forget it, and make a straightinary program.

2006-09-05 22:51:41 · answer #3 · answered by Mr. C 3 · 0 0

zeros and ones

2006-09-05 22:50:55 · answer #4 · answered by T Time 6 · 0 0

fedest.com, questions and answers