变量位cpu [英] The variable bit cpu

查看:73
本文介绍了变量位cpu的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我想我可能刚刚发明了变量位cpu :)


它的工作原理如下:


每个数据位具有元数据位。


元数据位描述该位是否是可能大的
结构/字段的结束位。 br />

元位一起形成一种位掩码或位模式。


例如,在放置数据位时最好看到这个想法br />
和meta位在彼此之下。


数据位:01110101110101101010101

元位:00000000100010001100001


实际上数据位和元位组合在一起作为单个实体

可以读入cpu,否则cpu不知道在哪里

开始读取数据或元位。现在简化从第一个

数据+元位对开始。


因为cpu可能需要知道前面位字段的长度

cpu / algorithm的工作原理如下:

cpu开始读取数据和元位,直到它达到1的元位。


现在读取构成变量位字段的所有位,并且可以使用等。


上面的示例如下所示:

数据位:011101011#1010#1101#0#10101

元位:000000001#0001#0001#1#00001


( #符号也是指示可变位字段的位置。)


注意单位字段是否可行。


带有可变位软件的可变位cpu的原因是太省了

成本并使计算机/软件更加强大和有用;)


例如:


目前固定的位软件必须重写或mo差异,重新编译,

重新记录,重新分发,重新安装,修复时重新配置

达到限制并且必须例如从32位增加到64

位等。


例如windows xp 32到64位,互联网IPv4到IPv6。


再见,

Skybuck。

Hi,

I think I might have just invented the variable bit cpu :)

It works simply like this:

Each "data bit" has a "meta data bit".

The meta data bit describes if the bit is the ending bit of a possibly large
structure/field.

The meta bits together form a sort of bit mask or bit pattern.

For example the idea is best seen when putting the data bits
and meta bits below each other.

data bits: 01110101110101101010101
meta bits: 00000000100010001100001

In reality the data bit and meta bit are grouped together as a single entity
which can be read into the cpu since otherwise the cpu would not know where
to start reading the data or meta bits. Now it simplies start with the first
data + meta bit pair.

Because a cpu might need to know the length of the bit field up front the
cpu/algorithm works simply as follows:

The cpu starts reading data and meta bits until it reaches a meta bit of 1.

All bits that form the variable bit field are now read and can be used etc.

The above example then looks like this:

data bits: 011101011#1010#1101#0#10101
meta bits: 000000001#0001#0001#1#00001

(The # sign is too indicate to you where the variable bit fields are.)

Notice how even single bit fields are possible.

The reason for the variable bit cpu with variable bit software is too save
costs and to make computers/software even more powerfull and usefull ;)

For example:

Currently fixed bitsoftware has to be re-written or modified, re-compiled,
re-documented, re-distributed, re-installed, re-configured when it''s fixed
bit limit is reached and has to be increased for example from 32 bit to 64
bit etc.

Example are windows xp 32 to 64 bit, the internet IPv4 to IPv6.

Bye,
Skybuck.

推荐答案

Skybuck Flying写道:
Skybuck Flying wrote:


我想我可能刚刚发明了变量位cpu :)

它的工作原理如下:

每个数据位具有元数据位。元数据位描述该位是否是可能大的结构/字段的结束位。

元位一起形成一种位掩码或位模式。

例如,当将数据位
和元位置放在彼此之下时,最好看到这个想法。

数据位:01110101110101101010101元位:00000000100010001100001

实际上数据位和元位组合在一起作为单个实体
可以读入cpu,否则cpu不会知道
开始读取数据或元位的位置。现在它简化了第一个
数据+元比特对。

因为cpu可能需要预先知道比特字段的长度,所以
cpu /算法很简单如下:

cpu开始读取数据和元位,直到它达到1的元位。

现在读取形成可变位字段的所有位,可以是使用等

上面的例子看起来像这样:

数据位:011101011#1010#1101#0#10101
元位:000000001#0001# 0001#1#00001

(#符号也指示可变位字段的位置。)

请注意单个位字段是否可行。

带有可变位软件的可变位cpu的原因是节省成本并使计算机/软件更加强大和有用;)

例如:

目前固定的位软件必须重新编写或修改,重新编译,重新记录,重新分发,重新安装,重新配置当它被固定时达到限制,并且必须增加例如从32位到64位等等。

示例是windows xp 32到64位,互联网IPv4到IPv6。
Hi,

I think I might have just invented the variable bit cpu :)

It works simply like this:

Each "data bit" has a "meta data bit".

The meta data bit describes if the bit is the ending bit of a possibly large
structure/field.

The meta bits together form a sort of bit mask or bit pattern.

For example the idea is best seen when putting the data bits
and meta bits below each other.

data bits: 01110101110101101010101
meta bits: 00000000100010001100001

In reality the data bit and meta bit are grouped together as a single entity
which can be read into the cpu since otherwise the cpu would not know where
to start reading the data or meta bits. Now it simplies start with the first
data + meta bit pair.

Because a cpu might need to know the length of the bit field up front the
cpu/algorithm works simply as follows:

The cpu starts reading data and meta bits until it reaches a meta bit of 1.

All bits that form the variable bit field are now read and can be used etc.

The above example then looks like this:

data bits: 011101011#1010#1101#0#10101
meta bits: 000000001#0001#0001#1#00001

(The # sign is too indicate to you where the variable bit fields are.)

Notice how even single bit fields are possible.

The reason for the variable bit cpu with variable bit software is too save
costs and to make computers/software even more powerfull and usefull ;)

For example:

Currently fixed bitsoftware has to be re-written or modified, re-compiled,
re-documented, re-distributed, re-installed, re-configured when it''s fixed
bit limit is reached and has to be increased for example from 32 bit to 64
bit etc.

Example are windows xp 32 to 64 bit, the internet IPv4 to IPv6.




为什么你不向我们展示你的C实现并向我们展示这个

是如何改进的反击一个好的,便携的(无论可能意味着什么)

编程风格。

否则,我担心你在这里偏离主题并可能继续

comp.programming或在适当的地方。


-Michael

-

电子邮件:我的是an / at / gmx / dot / de address。



Why don''t you just show us your C implementation and show us how this
improves or countermands a good, portable (whatever that may mean)
programming style.
Otherwise, I fear you are rather off-topic round here and may go on to
comp.programming or wherever appropriate.

-Michael
--
E-Mail: Mine is an /at/ gmx /dot/ de address.


Michael Mair写道:
Michael Mair wrote:
Skybuck Flying写道:


< snip rubbish>

为什么你不向我们展示你的C实现并向我们展示这是如何改善或反击一个好的,可移植的(无论这意味着什么) )
编程风格。
否则,我担心你在这里偏离主题,可能会继续进行编程或在适当的时候进行编程。
Skybuck Flying wrote:
<snip rubbish>
Why don''t you just show us your C implementation and show us how this
improves or countermands a good, portable (whatever that may mean)
programming style.
Otherwise, I fear you are rather off-topic round here and may go on to
comp.programming or wherever appropriate.




我建议你搜索档案中的其他垃圾由skybuck发布。

这个杀戮文件吧。

-

Flash Gordon

生活在有趣的时代。

虽然我的电子邮件地址是垃圾邮件,但它是真实的,我读了它。



I suggest you search the archives for other rubbish posted by skybuck.
This kill file it.
--
Flash Gordon
Living in interesting times.
Although my email address says spam, it is real and I read it.


Flash Gordon写道:
Flash Gordon wrote:
Michael Mair写道:
Michael Mair wrote:
Skybuck Flying写道:
Skybuck Flying wrote:



< snip rubbish>


<snip rubbish>

为什么你不是只向我们展示你的C实现,并向我们展示这是如何改进或反击一个好的,可移植的(无论可能意味着什么)
编程风格。
否则,我担心你是而非偏离主题在这里,可以继续
comp.programming或在适当的地方。
Why don''t you just show us your C implementation and show us how this
improves or countermands a good, portable (whatever that may mean)
programming style.
Otherwise, I fear you are rather off-topic round here and may go on to
comp.programming or wherever appropriate.



我建议你搜索档案f或其他垃圾由skybuck发布。
这个杀戮文件吧。


I suggest you search the archives for other rubbish posted by skybuck.
This kill file it.




感谢您的建议 - Skybuck已经花了一些时间
$ b我的杀戮文件中的$ b但是试用了。猜猜这个结算了。


干杯

Michael

-

电子邮件:我的是/ at / gmx / dot / de地址。



Thanks for the suggestion -- Skybuck already has spent some time
in my killfile but got out on probation. Guess this settles it.

Cheers
Michael
--
E-Mail: Mine is an /at/ gmx /dot/ de address.


这篇关于变量位cpu的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆