论文部分内容阅读
十进制指令提供了对十进制数据的运算、移位和编辑操作。这些指令构成了十进制功能。10-1 数据形式十进制数据可以放在主存储器中,而且可以按区域式或装配式的形式存放。区域式形式在区域式形式中,一个位组的右面四位称为数值(N),而且往往包括一个表示十进制数字的代码。一个位组的左面四位称为区域(Z),只有整个信息段的最右一个位组例外,这些位可以用做区域,或是做为符号(S)。装配式形式在装配式形式中,每个位组包括两个十进制数字(D),只有最右面的位组例外,那里在十进制数字的右面带有一个符号。数字和符号码各占四位。运算和移位是对装配式形式的操作数进行的,而结果也是装配式的。区域式的十进制数只表示字符组的一部分,它还包括其他字母和专用符号。区域式通常由原始文件的输入设备,如卡片输入机产生,而通常用于在输出设备上打印十进制数据。
Decimal instructions provide operations on decimal data, shift and edit operations. These instructions form the decimal function. 10-1 Data Formats Decimal data can be stored in main memory and can be stored in a regional or assembly form. In the regional form, the four digits to the right of a group are called numbers (N), and often include a code that represents a decimal number. The left four digits of a group are called regions (Z) except for the rightmost one of the entire information segment, which can be used as a region or as a symbol (S). Assembly forms In assembly form, each group consists of two decimal numbers (D), except for the rightmost bit group, where there is a sign to the right of the decimal number. The numbers and symbols each occupy four digits. Operations and shifts are done on assembly-type operands, and the result is assembly. The regional decimal number only represents a part of the character group, it also includes other letters and special symbols. Regional usually by the original file input device, such as a card input machine generated, but usually used to print decimal output data on the device.