Нужен автокод - иностранцам вежливо настраивать язык кириллический

Информация о пользователе

Привет, Гость! Войдите или зарегистрируйтесь.



natural indexing

Сообщений 1 страница 2 из 2

1

https://www.tdcommons.org/cgi/viewconte … ubs_series

2018-07-30, Kumar K.T.P. & Chatterjee S., A least-disruptive mechanism to compile integral and pointer types of unknown compile-time size to EFI Byte Codetypes of unknown compile-time size to EFI Byte Code

«the compiled EBC image can potentially be run on any architecture and platform
that supports the EBC Virtual Machine.»

«the UEFI specification describes a natural indexing mechanism, along with
the introduction of a new integral type INTN, the size of which is dependent on the runtime target
architecture. This implies that the size of the pointer (void*) and the newly introduced natural types
(INTN/UINTN) is unknown at compile time, being dependent on the runtime architecture of the platform
on which the EBC driver is executed.»

«a well-defined technique to handle pointer (void*) and natural (INTN/UINTN) types
with runtime target dependent size is critical in being able to implement a C compiler with the ability to
compile to (target) platform and processor independent EBC.»

«With the specification (Unified Extensible Firmware Interface Specification, V2.6) for variable pointers
and Natural types (INTN/UINTN) none of the existing compiler implementations can be used to generate
EFI Byte Code (EBC).»

Звучит как вызов, не так ли? Прямо таки ниша - создать средство для разработки таких приложений
в нашей передовой империи и продавать его диким недоразвитым островитянам.

0

2

Если w = 7, то в index16, получается A = 14. А битов свободных 16 - 1 - 3 = 12.
То есть, значение w = 7 невалидное.

Что должно происходить в этом случае?

Ничего не сказано про то, что w = 7 это reserved value (или не является таковым).

22.13.6 Instruction Encoding Exception
An instruction encoding exception can occur for the following:
• For some instructions, if an Operand 1 index is specified and Operand 1 is direct
• If an instruction encoding has reserved bits set to values other than 0
• If an instruction encoding has a field set to a reserved value.

22.13.3 Invalid Opcode Exception
An invalid opcode exception will occur if the interpreter encounters a reserved opcode during execution.

Ой, ну посмотри исходники машины из состава TianoCore, скажут они. Нет вы! Почему я?

Отредактировано Лис (2025-12-08 15:06:48)

0