⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ldiv.3

📁 UNIX v6源代码 这几乎是最经典的unix版本 unix操作系统设计和莱昂氏unix源代码分析都是用的该版
💻 3
字号:
.th LDIV III 5/7/73.sh NAMEldiv, lrem \*- long division.sh SYNOPSIS.ft Bldiv(hidividend, lodividend, divisor).s3lrem(hidividend, lodividend, divisor).ft R.sh DESCRIPTIONTheconcatenation of the signed16-bit.it hidividendand the unsigned 16-bit.it lodividendis divided by\fIdivisor\fR.The 16-bit signed quotient is returned by.it ldivand the 16-bit signed remainder is returned by.it lrem.Divide check and erroneous resultswill occurunless the magnitude of thedivisor is greater than that of the high-orderdividend..s3An integer division of an unsigneddividend by a signed divisor maybe accomplished by.s3	quo = ldiv(0, dividend, divisor);.s3and similarly for the remainder operation..s3Often both the quotient and the remainder are wanted.Therefore.it ldivleaves a remainder in the external cell.it ldivr..sh BUGSNo divide check check.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -