![]() |
ASM: Pointer verändern
Hallo zusammen!
Ich hab hier einen Atmel 89C51 und arbeite mit Keil / µVision/51 V1.32 Ich hab folgende Variable definiert: KeyStatus: ds 8 ;Status-Bits für alle 60 Tasten (Siehe Sprungtabelle) Sind also 8 Bytes. Nun habe ich eine 2. Variable: TempByte: ds 1 TempByte soll nun auf KeyStatus verweisen: mov #TempByte,#KeyStatus warum geht das so nicht? mov R0,#KeyStatus geht ja schonmal aber mov #TempByte,R0 geht leide nicht. Will das jetzt net alles auf noch ein Register umstricken, sind eh schon alle voll bis sonstwohin. Kann mir Jemand helfen?? Gruß, Schubi |
Alle Zeitangaben in WEZ +1. Es ist jetzt 13:33 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz