68k字符串指令是否已实施?

huangapple go评论51阅读模式
英文:

68k string instructions ever implemented?

问题

我正在阅读一篇早期的 Microsystems 文章,它宣布了 68000,并在描述指令集时包括了以下内容:

"String. STRING MOVE, STRING SEARCH; and TRANSLATE are specified but
not implemented in the first version."

根据这些名称,它们似乎旨在与 PDP-11 的 CIS 字符串指令类似 - 我假设 TRANSLATE 例如使用一个256个条目的表来将一个字符集映射到另一个字符集,而 MOVE 则会从地址 A 复制 N 个字节到地址 B。

我不记得有这样的指令,所以我查找了 68020 的 Sun 汇编手册,但没有找到任何踪迹。这些指令是被遗弃了,还是后来在该系列中出现了呢?

英文:

I was reading an older Microsystems article announcing of the 68000 and it included this passage when describing the instruction set:

> String. STRING MOVE, STRING SEARCH; and TRANSLATE are specified but
> not implemented in the first version.

Given the names, they appear to be intended to be similar to the PDP-11's CIS string instructions - I assume TRANSLATE, for instance, uses a 256-entry table to map from one charset to the other, while move would copy N bytes from address A to address B.

I don't recall any such instructions, so I found the Sun assembler manual for the 68020 and can't find any trace. Did these simply get left at the roadside, or did they eventually appear later in the series?

答案1

得分: 3

【68000程序员参考手册】(https://www.nxp.com/docs/en/reference-manual/M68000PRM.pdf)涵盖了68k系列直到68040,并且日期为1992年,仅在四页中使用了“字符串”一词:

  • 第3-11页:关于ASCII或EBCDIC与BCD之间的转换;
  • 第5-76页和第5-79页:在讨论FMOVE时,与小数打包到字符串的上下文类似;
  • 第C-11页:在讨论S-Records时。

【68060用户手册】(https://www.nxp.com/docs/en/data-sheet/MC68060UM.pdf)再次涉及到FMOVE上下文中的打包小数字符串,但在一些代码清单之外并没有提到它们。

因此,我会得出结论,68k系列从未获得字符串移动、搜索或翻译功能。

英文:

The 68000 programmer's reference manual, which covers the 68k family up to the 68040 and dates from 1992, uses the word 'string' on only four pages:

  • Page 3-11: regarding conversion between ASCII or EBCDIC and BCD;
  • Pages 5-76 and 5-79: in much the same context during discussion of FMOVE, i.e. decimals packed into strings;
  • Page C-11: during discussion of S-Records.

The 68060 user's manual again refers to packed decimal strings in the context of FMOVE but otherwise doesn't make reference to them outside of some code listings.

Therefore I would conclude that the 68k family never acquired string move, search or translate.

huangapple
  • 本文由 发表于 2023年7月13日 22:06:56
  • 转载请务必保留本文链接:https://go.coder-hub.com/76680305.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定