text stringlengths 1 1.05M |
|---|
global _string_uppercase
_string_uppercase:
push bp
mov bp, sp
mov ax, [bp+4]
call os_string_uppercase
pop bp
ret
|
// Copyright (c) 2011-2016 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <qt/guiutil.h>
#include <base58.h>
#include <cashaddr.h>
#include <chainparams.h>
#include <config.h>
#include <dst... |
rndd(8) g3<1>F g5<8,8,1>F { align1 };
rndd(16) g16<1>F g24<8,8,1>F { align1 compr };
rndd(8) g6<1>.xF g1<0>.xF { align16 };
rndd(8) g6<1>.xF (abs)g1<0>.xF { align16 NoDDClr };
... |
/// @file
/// @author rfree (current maintainer in monero.cc project)
/// @brief interface for throttling of connection (count and rate-limit speed etc)
// Copyright (c) 2014-2017, The Monero Project
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are... |
; A349679: a(n) = n*(n+1)/2 - (n-2)*phi(n)/2 for n >= 2, with a(1)=1.
; Submitted by Simon Strandgaard
; 1,3,5,8,9,17,13,24,24,39,21,58,25,69,68,80,33,123,37,138,117,153,45,212,95,207,153,250,57,353,61,288,251,339,234,462,73,417,336,516,81,663,85,570,519,597,93,808,238,795,542,778,105,1017,480,948,663,927,117,1366,121,... |
; A024082: 7^n-n^7.
; 1,6,-79,-1844,-13983,-61318,-162287,0,3667649,35570638,272475249,1957839572,13805455393,96826261890,678117659345,4747390650568,33232662134145,232630103648534,1628412985690417,11398894291501404,79792265017612001,558545862282195466,3909821046088630161,27368747336676090896,191581231375979942977,13410... |
;* * * * * Small-C/Plus z88dk * * * * *
; Version: 16668-1b318d7b8-20200708
;
; Reconstructed for z80 Module Assembler
;
; Module compile time: Sat Jul 11 20:26:34 2020
C_LINE 0,"acosf16.c"
MODULE acosf16_c
INCLUDE "z80_crt0.hdr"
C_LINE 0,"math16.h"
C_LINE 0,"/home/phillip/Z80/z88dk/lib/config/../..//incl... |
/*
* Copyright (c) 2011, Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditi... |
; A225018: Number of cusps in a class of degree-3n complex algebraic surfaces.
; 3,30,127,301,647,1100,1851,2715,4027,5434,7463,9545,12447,15336,19267,23095,28211,33110,39567,45669,53623,61060,70667,79571,90987,101490,114871,127105,142607,156704,174483,190575,210787,229006,251807,272285,297831,320700
mov $5,$0
add $0,... |
; void dzx0_agile_rcs(void *src, void *dst)
SECTION code_clib
SECTION code_compress_zx0
PUBLIC _dzx0_agile_rcs
EXTERN asm_dzx0_agile_rcs
_dzx0_agile_rcs:
pop af
pop hl
pop de
push de
push hl
push af
jp asm_dzx0_agile_rcs
|
// ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_Buff_ChargeEmitterWeapon_ChargeLantern_parameters.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Functions
//-------------------------------------------... |
/*
MIT License
Copyright (c) 2021 Attila Kiss
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dis... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1991 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Compress Library
FILE: compressIO.asm
AUTHOR: David Loftesness, Jan 6, 1993
ROUTINES:
Name Description
---- -----------
REVISION H... |
.code
PUBLIC wrapperNtOpenEvent
; the syscall handler only saves these registers explicitly: rbx, rdi, rsi, rbp
; the rest are saved like normal nonvolatile registers are by subsequent functions
; thus we use rbx and rdi: rbx for magic, rdi for the commands
wrapperNtOpenEvent PROC
mov r10, rcx
mov eax, r9d
xchg Q... |
GBCOnlyScreen:
ldh a, [hCGB]
and a
ret nz
ld a, $e4
ldh [rBGP], a
ld de, MUSIC_PRINTER
call PlayMusic
call ClearTileMap
ld hl, GBCOnlyGFX
ld de, wGBCOnlyDecompressBuffer
ldh a, [rSVBK]
push af
ld a, 0 ; this has the same effect as selecting bank 1
ldh [rSVBK], a
call Decompress
pop af
ldh [rSVBK], ... |
aci -128 ; CE 80
aci 127 ; CE 7F
aci 255 ; CE FF
adc (hl) ; 8E
adc (ix) ; FD 8E 00
adc (ix+127) ; FD 8E 7F
adc (ix-128) ; FD 8E 80
adc (iy) ; ... |
; $Id: bootsector-shutdown.asm $
;; @file
; Bootsector for grub chainloading that shutdowns the VM.
;
;
; Copyright (C) 2007-2017 Oracle Corporation
;
; This file is part of VirtualBox Open Source Edition (OSE), as
; available from http://www.virtualbox.org. This file is free software;
; you can redistribute it and/or... |
; A040601: Continued fraction for sqrt(627).
; 25,25,50,25,50,25,50,25,50,25,50,25,50,25,50,25,50,25,50,25,50,25,50,25,50,25,50,25,50,25,50,25,50,25,50,25,50,25,50,25,50,25,50,25,50,25,50,25,50,25,50,25,50,25,50,25,50,25,50,25,50,25,50
pow $1,$0
sub $1,2
gcd $1,$0
mul $1,25
|
//
// Notice Regarding Standards. AMD does not provide a license or sublicense to
// any Intellectual Property Rights relating to any standards, including but not
// limited to any audio and/or video codec technologies such as MPEG-2, MPEG-4;
// AVC/H.264; HEVC/H.265; AAC decode/FFMPEG; AAC encode/FFMPEG; VC-1; a... |
/*
* MIT License
*
* Alexandria.org
*
* Copyright (c) 2021 Josef Cullhed, <info@alexandria.org>, et al.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, includi... |
; A328152: a(n) is the number of squares of side length greater than 1 having vertices at the points of an n X n grid of dots.
; Submitted by Jon Maiga
; 0,0,2,11,34,80,160,287,476,744,1110,1595,2222,3016,4004,5215,6680,8432,10506,12939,15770,19040,22792,27071,31924,37400,43550,50427,58086,66584,75980,86335,97712,11017... |
;;
;; Copyright (c) 2020-2022, Intel Corporation
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions are met:
;;
;; * Redistributions of source code must retain the above copyright notice,
;; this list of conditions and... |
; A212272: a(n) = Fibonacci(n) + n^3.
; 0,2,9,29,67,130,224,356,533,763,1055,1420,1872,2430,3121,3985,5083,6510,8416,11040,14765,20207,28359,40824,60192,90650,138969,216101,339763,538618,859040,1376060,2211077,3560515,5742191,9270340,14977008,24208470,39143041,63305305,102398155,165649062,267988384,433573944,701493917,... |
; A022089: Fibonacci sequence beginning 0, 6.
; Submitted by Jon Maiga
; 0,6,6,12,18,30,48,78,126,204,330,534,864,1398,2262,3660,5922,9582,15504,25086,40590,65676,106266,171942,278208,450150,728358,1178508,1906866,3085374,4992240,8077614,13069854,21147468,34217322,55364790,89582112,144946902
mov $3,1
lpb $0
sub $0,1... |
map_header Route12Gate2F, ROUTE_12_GATE_2F, GATE, 0
end_map_header
|
/*
* Copyright 2018-2021 Mahdi Khanalizadeh
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law o... |
;; Licensed to the .NET Foundation under one or more agreements.
;; The .NET Foundation licenses this file to you under the MIT license.
include AsmMacros.inc
;; Macro used to copy contents of newly updated GC heap locations to a shadow copy of the heap. This is used
;; during garbage collections to verify that objec... |
#include <gtkmm.h>
#include "../include/pfs/procfs.hpp"
#include <iostream>
using namespace pfs;
using namespace std;
Glib::RefPtr<Gtk::Application> app;
void load_ui() {
auto builder = Gtk::Builder::create_from_file("./glade/glade.ui");
Gtk::Window *window;
builder->get_widget("main_window", window);
... |
; A004483: Tersum n + 2.
; 2,0,1,5,3,4,8,6,7,11,9,10,14,12,13,17,15,16,20,18,19,23,21,22,26,24,25,29,27,28,32,30,31,35,33,34,38,36,37,41,39,40,44,42,43,47,45,46,50,48,49,53,51,52,56,54,55,59,57,58,62,60,61,65,63,64,68,66,67
mov $1,-3
gcd $1,$0
add $0,$1
add $1,$0
add $1,$0
sub $1,5
div $1,2
|
; ----------------------------------------------------------------------
; cpuid.inc.asm
;
; A CPUID
; To assemble and run:
;
; nasm -felf64 cpuid.asm \
; && ld -o cpuid cpuid.o && ./cpuid
; ----------------------------------------------------------------------
%ifdef DATA
%define _ATTR_ global
%else
%define _ATT... |
;
; Copyright (c) 2016, Alliance for Open Media. All rights reserved
;
; This source code is subject to the terms of the BSD 2 Clause License and
; the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
; was not distributed with this source code in the LICENSE file, you can
; obtain it at www.aome... |
segment .data
fmt: dq "%lld ",10,0
ssfmt: dq "%lld",0
segment .bss
a: resq 255
b: resq 2
c: resq 2
d: resq 2
cn: resq 2
segment .text
global main
extern printf
extern scanf
main:
push RBP
xor rcx, rcx
mov [c] , rcx
xor rax , rax
mov rdi, ssfmt
mov rsi , cn
call scanf
ll:
mov rbx , rcx
mov rcx, [b]
mov r8 , [cn]
cmp... |
; A004447: Nimsum n + 6.
; 6,7,4,5,2,3,0,1,14,15,12,13,10,11,8,9,22,23,20,21,18,19,16,17,30,31,28,29,26,27,24,25,38,39,36,37,34,35,32,33,46,47,44,45,42,43,40,41,54,55,52,53,50,51,48,49,62,63,60,61,58,59,56,57,70,71,68,69,66,67,64,65,78,79,76,77,74,75,72,73,86,87,84,85,82,83,80,81,94,95,92,93,90,91,88,89,102,103,100,101... |
;------------------------------------------------------------------------------
;
; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
; This program and the accompanying materials
; are licensed and made available under the terms and conditions of the BSD License
; which accompanies this distribution... |
#include "prisonnier.h"
#include <QCryptographicHash>
#include <QtAlgorithms>
Prisonnier::Prisonnier(QString nom,QString prenom,QString crime,QString cin,QDate date){
this->nom=nom;
this->prenom=prenom;
this->crime=crime;
this->cin=cin;
this->date_naissance=date;
this->id=QString(QCryptographicH... |
copyright zengfr site:http://github.com/zengfr/romhack
00042A move.l D1, (A0)+
00042C dbra D0, $42a
0007D8 move.b $80001e.l, ($24,A5) [base+ 23]
0007E0 not.b ($22,A5) [base+ 24]
0007E8 not.b ($24,A5) [base+ 23]
0007EC move.b ($21,A5), D0 [base+ 24]
0AAACA move.l (A0), D2
0AAACC move.w D0, (A0) [... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r14
push %r8
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x1a3ad, %r14
nop
nop
nop
nop
lfence
mov $0x6162636465666768, %r11
movq %r11, %xmm6
movups %xmm6, (%r14)
nop
nop
nop
nop
nop
inc %rcx
lea addresses_A_ht+0x1ac1f, %rsi
lea addre... |
; stdlib stuff
extern printf
extern puts
extern sprintf
extern bzero
; a bunch of SDL1.2 library stuff
extern SDL_Init
extern SDL_SetVideoMode
extern SDL_FillRect
extern SDL_MapRGB
extern SDL_Flip
extern SDL_Delay
extern SDL_Quit
extern SDL_ShowCursor
extern SDL_GetTicks
extern gfxPrimitivesSetFont
extern stringColo... |
#include <fstream>
#include "OCVDNNDetector.h"
#include "nms.h"
///
/// \brief OCVDNNDetector::OCVDNNDetector
/// \param gray
///
OCVDNNDetector::OCVDNNDetector(const cv::UMat& colorFrame)
: BaseDetector(colorFrame)
{
m_classNames = { "background",
"aeroplane", "bicycle", "bird", "boat",
... |
; A144605: Christoffel word of slope 7/11.
; 0,0,1,0,0,1,0,1,0,0,1,0,1,0,0,1,0,1,0,0,1,0,0,1,0,1,0,0,1,0,1,0,0,1,0,1,0,0,1,0,0,1,0,1,0,0,1,0,1,0,0,1,0,1,0,0,1,0,0,1,0,1,0,0,1,0,1,0,0,1,0,1,0,0,1,0,0,1,0,1,0,0,1,0,1,0,0,1,0,1,0,0,1,0,0,1,0,1,0,0
mul $0,7
mod $0,18
div $0,11
|
// Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/common/importer/firefox_importer_utils.h"
#include "base/base_paths.h"
#include "base/file_util.h"
#include "base/files/file_path.h"... |
;;
;; Copyright (c) 2020, Intel Corporation
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions are met:
;;
;; * Redistributions of source code must retain the above copyright notice,
;; this list of conditions and the ... |
copyright zengfr site:http://github.com/zengfr/romhack
007516 move.w A3, ($44,A1) [1p+40]
00751A move.b #$ff, ($40,A3) [1p+44]
00A2C6 dbra D0, $a2c0
00A318 clr.w ($44,A4)
00A31C clr.b ($4a,A4)
00BE94 move.w A0, ($44,A6) [1p+40]
00BE98 move.b #$ff, ($41,A6) [1p+44]
copyright zengfr site:http://gith... |
;------------------------------------------------------------------------------
; math.asm
; A demonstration of the supported mathematical instructions
;------------------------------------------------------------------------------
#set ENTRY=main
main:
add a b
out b ; prints b + a (11)
sub ... |
; $Id: bs3-cmn-TestSendCmdWithU32.asm 69111 2017-10-17 14:26:02Z vboxsync $
;; @file
; BS3Kit - bs3TestSendCmdWithU32.
;
;
; Copyright (C) 2007-2017 Oracle Corporation
;
; This file is part of VirtualBox Open Source Edition (OSE), as
; available from http://www.virtualbox.org. This file is free software;
; you can red... |
SECTION rodata_user
PUBLIC _run_help
_run_help:
BINARY "run-help.txt"
defb 0
|
; A021215: Decimal expansion of 1/211.
; Submitted by Jamie Morken(m2)
; 0,0,4,7,3,9,3,3,6,4,9,2,8,9,0,9,9,5,2,6,0,6,6,3,5,0,7,1,0,9,0,0,4,7,3,9,3,3,6,4,9,2,8,9,0,9,9,5,2,6,0,6,6,3,5,0,7,1,0,9,0,0,4,7,3,9,3,3,6,4,9,2,8,9,0,9,9,5,2,6,0,6,6,3,5,0,7,1,0,9,0,0,4,7,3,9,3,3,6
seq $0,83811 ; Numbers n such that 2n+1 is the d... |
#include "stdafx.h"
#include "UIScrollBar.h"
namespace DuiLib
{
CScrollBarUI::CScrollBarUI() : m_bHorizontal(false), m_nRange(100), m_nScrollPos(0), m_nLineSize(8),
m_pOwner(NULL), m_nLastScrollPos(0), m_nLastScrollOffset(0), m_nScrollRepeatDelay(0), m_uButton1State(0), \
m_uButton2State(0), m_uThumbState... |
###############################################################################
# Copyright 2019 Intel Corporation
# All Rights Reserved.
#
# If this software was obtained under the Intel Simplified Software License,
# the following terms apply:
#
# The source code, information and material ("Material") containe... |
; A138710: n-th run has length n-th positive Fibonacci numbers, with digits 0 and 1 only, starting with 0.
; 0,1,0,0,1,1,1,0,0,0,0,0,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mov $2,6
lpb $0
sub $0,1
mul $... |
; A271491: Arises in enumeration of locally convex functions.
; Submitted by Jon Maiga
; 1,3,9,16,20,21,21,21,21,21,21,21
mov $4,$0
add $4,1
mov $8,$0
lpb $4
mov $0,$8
sub $4,1
sub $0,$4
mov $1,2
mov $2,1
mov $3,$0
mul $3,5
mov $7,0
lpb $3
mul $2,$3
add $1,$2
add $2,$1
add $7,1
mo... |
;
; Enterprise 64/128 specific routines
; by Stefano Bodrato, 2011
;
; exos_write_character(unsigned char ch_number, unsigned char character);
;
;
; $Id: exos_write_character.asm,v 1.4 2016/06/19 20:17:32 dom Exp $
;
SECTION code_clib
PUBLIC exos_write_character
PUBLIC _exos_write_character
EXTERN ... |
copyright zengfr site:http://github.com/zengfr/romhack
00042A move.l D1, (A0)+
00042C dbra D0, $42a
0004A6 move.w #$9100, ($2e,A5) [base+ 2C]
0004AC clr.w ($777e,A5) [base+ 2E]
089F30 move.w #$9200, ($2e,A5) [etc+86]
089F36 movem.w A0-A1, -(A7) [base+ 2E]
089F52 move.w #$9100, ($2e,A5)
089F58 subq.w... |
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r8
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x16351, %rsi
lea addresses_WC_ht+0x95e1, %rdi
nop
nop
nop
cmp $60972, %r9
mov $46, %rcx
rep movsq
nop
nop
nop
sub $14391, %rbp
lea addresses_WC_ht+0xf74d, %rsi
lea addresses_UC_ht+0x71c1,... |
#include "splashscreen.h"
#include "clientversion.h"
#include "util.h"
#include <QPainter>
#undef loop /* ugh, remove this when the #define loop is gone from util.h */
#include <QApplication>
SplashScreen::SplashScreen(const QPixmap &pixmap, Qt::WindowFlags f) :
QSplashScreen(pixmap, f)
{
// set reference poi... |
; A116164: a(n) = 6^n * n*(n+1).
; 0,12,216,2592,25920,233280,1959552,15676416,120932352,906992640,6651279360,47889211392,339578044416,2377046310912,16456474460160,112844396298240,767341894828032,5179557790089216,34733505180598272,231556701203988480,1535586544826449920,10134871195854569472,66600582144187170816,43593108... |
; ===============================================================
; Apr 2014
; ===============================================================
;
; FILE *freopen(char *filename, char *mode, FILE *stream)
;
; Reassigns the stream to a different file.
;
; ===============================================================
... |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright(c) 2011-2015 Intel Corporation All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions
; are met:
; * Redistributions of so... |
/*
* Copyright (c) Contributors to the Open 3D Engine Project.
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#include <AzTest/AzTest.h>
#include <Tests/PhysXGenericTestFixture.h>
#include <Tests/PhysXTestCom... |
// Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The SFC licenses this file
// to you under the Apache License, Version 2.0 (the "License");
// you may... |
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r15
push %r8
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x7eec, %rsi
lea addresses_WC_ht+0x6d2c, %rdi
clflush (%rdi)
nop
nop
add $34894, %r13
mov $11, %rcx
rep movsb
nop
nop
nop
and $55120, %r8
lea addresses_WC_ht+0x159ac, %r15
nop
no... |
-- HUMAN RESOURCE MACHINE PROGRAM --
COMMENT 1
COPYFROM 23
COPYTO 22
COMMENT 0
a:
INBOX
COPYTO [22]
JUMPZ b
BUMPUP 22
JUMP a
COMMENT 3
b:
COPYFROM 24
COPYTO 22
COMMENT 2
c:
INBOX
COPYTO [22]
JUMPZ d
BUMPUP 22
JUMP ... |
#pragma once
#include <agency/detail/config.hpp>
#include <agency/detail/type_traits.hpp>
#include <agency/detail/integer_sequence.hpp>
#include <agency/execution/executor/executor_traits/detail/executor_execution_depth_or.hpp>
#include <agency/execution/executor/executor_traits/detail/member_shape_type_or.hpp>
#inclu... |
/* Menus.cpp
*
* Author : Alexander J. Yee
* Date Created : 11/07/2014
* Last Modified : 11/15/2014
*
*/
#include <limits.h>
#include <iostream>
#include "BasicTransformParameters.h"
#include "Menus.h"
namespace ProtoNTT{
////////////////////////////////////////////////////////////////////////... |
// Copyright (c) 2011-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The YEN developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "openuridialog.h"
#inclu... |
// Copyright (c) 2013-2019 Hartmut Kaiser
// Copyright (c) 2013 Thomas Heller
//
// SPDX-License-Identifier: BSL-1.0
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
// Bidirectional network bandwidth test
#in... |
aLine 0
gNew basePtr
gMoveNext basePtr, Root
gNewVPtr minNext
gNewVPtr rootNext
gMoveNext rootNext, Root
aLine 1
gNew basePrev
gMove basePrev, Root
gNew minPtr, 1085, 800
gNew minPrev, 1085, 860
gNew currentPtr, 1085, 920
gNew currentPrev, 1085, 980
aLine 2
gBeq basePtr, Root, 43
aLine 4
gMove minPtr, basePtr
aLine... |
/******************************************************************************
*
* Project: TIGER/Line Translator
* Purpose: Implements TigerZipCodes, providing access to .RT6 files.
* Author: Frank Warmerdam, warmerdam@pobox.com
*
*****************************************************************************... |
; IO tester for RC2014
;
.module SIO_TEST
.area .CODE (ABS)
.include "../Common/hardware.asm"
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; initial entry point
.org 0x0000 ; start at 0x0000
di ; disable interrupts
ld sp, #0x4000 ; set up a stack pointer
jp main ; let's get started!
str_splash:
.ascii "ACIA ... |
; ---------------------------------------------------------------------------
; Uncompressed graphics loading array for Sonic
; ---------------------------------------------------------------------------
SonicDynPLC_internal:
dc.w SonPLC_Null-SonicDynPLC_internal
dc.w SonPLC_Stand-SonicDynPLC_internal
dc.w SonPLC... |
;------------------------------------------------------------------------------
;
; Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>
; This program and the accompanying materials
; are licensed and made available under the terms and conditions of the BSD License
; which accompanies this distr... |
u_offset1 = -TYPE ; behaviour offset is determined by next structure element
; all following objects "inherit" from defined Objectstruct
; all vars after "NEXT_OBJECT" can be different for each of the objects
;
; all definitions with the same name must be at the same structure p... |
;******************************************************************************
.include "m48def.inc"
.include "std/convert.inc"
.include "std/io.inc"
.include "std/ram.inc"
.include "std/serial.inc"
.include "std/stack.inc"
.include "std/vectors.inc"
; directions
.equ front = 3
.equ front_left = 4
.equ front_right = ... |
; int vfprintf_callee(FILE *stream, const char *format, void *arg)
INCLUDE "config_private.inc"
SECTION code_clib
SECTION code_stdio
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
IF __CLIB_OPT_MULTITHREAD & $02
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
PUBLIC _vfprintf_callee
EXTERN asm_vfprintf
_vfprintf_callee:
pop af
pop ix
... |
; This File is Part of LibFalcon.
;
; * Copyright (c) 2016, Syed Nasim
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; * Redistributions of source code must retain the above copyright ... |
;an x86 assembly language program: Modify keyboard interrupt: Move all keys backward one space in sequence
data segment
count dw ?
DATA ENDS
code segment
assume cs:code,ds:data
jmp start
newint9 proc
sti
pushf
push ax
push bx
in al,60h;get key code
push ax
in al,61h... |
; QPC SER PAR PRT device initialisation V2.10 1999 Tony Tebby
section spp
xdef qpc_spp_init
xdef qpc_spp_inits
xref spp_init
xref qpc_pardef
xref qpc_serdef
include 'dev8_smsq_qpc_keys'
include 'dev8_mac_vecx'
;+++
; SPP driver initialisation.
;
; a1-a3 scratch
; status return standard
;---
qpc_spp_i... |
/****************************************************************************************
* @author: kzvd4729 created: 2019-05-18 19:10:26
* solution_verdict: Compile Error language: C++
* run... |
user/_rm: file format elf64-littleriscv
Disassembly of section .text:
0000000000000000 <main>:
#include "kernel/stat.h"
#include "user/user.h"
int
main(int argc, char *argv[])
{
0: 7179 addi sp,sp,-48
2: f406 sd ra,40(sp)
4: f022 sd s0,32(sp)
6: ec26 ... |
;
; Copyright (c) 2020 Phillip Stevens
;
; This Source Code Form is subject to the terms of the Mozilla Public
; License, v. 2.0. If a copy of the MPL was not distributed with this
; file, You can obtain one at http://mozilla.org/MPL/2.0/.
;
; feilipu, August 2020
;
;-----------------------------------------------... |
#pragma once
// #include "BrylaGeometryczna.hh"
#include "Przeszkody.hh"
#include "Dron.hh"
// #include "matrix3x3.hh"
// #include "../include/lacze_do_gnuplota.hh"
#include <stdlib.h>
using namespace std;
class PPlaskowyz : public BrylaGeometryczna
{
public:
PPlaskowyz(){};
PPlaskowyz(Vector<3> pkt, dou... |
; A170221: Number of reduced words of length n in Coxeter group on 20 generators S_i with relations (S_i)^2 = (S_i S_j)^40 = I.
; 1,20,380,7220,137180,2606420,49521980,940917620,17877434780,339671260820,6453753955580,122621325156020,2329805177964380,44266298381323220,841059669245141180,15980133715657682420
add $0,1
mo... |
;~~;~~;~~;~~;~~;~~;~~;~~;~~;~~;~~;~~;~~;~~;~~;~~;~~;~~;~~;~~;~~;~~;~~;~~;~~;~~;~~;~~
;
; *FATINFO [filename]
;
; Shows fat filesystem file info - size on disk, sector, fptr and attrib.
;
STARFATINFO:
jsr read_filename
jsr open_file_read
SETRWPTR NAME ; get the FAT file size - text files wo... |
/**
Copyright 2016 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in... |
Map_3639C0: dc.w Frame_3639DC-Map_3639C0
dc.w Frame_363A3E-Map_3639C0
dc.w Frame_363AC4-Map_3639C0
dc.w Frame_363B1A-Map_3639C0
dc.w Frame_363B28-Map_3639C0
dc.w Frame_363B30-Map_3639C0
dc.w Frame_363B38-Map_3639C0
dc.w Frame_363B6A-Map_3639C0
dc.w Frame_363B7E-Map_3639C0
dc.w Frame_363B8C-Map_3639C0
... |
.model tiny
.code
org 100h
kkk:
nop ; ID
nop ; ID
mov cx,80h
mov si,0080h
mov di,0ff7fh
rep movsb ; save param
lea ax,begp ; begin prog
mov cx,ax
sub ax,100h
mov ds:[0fah],ax ; len VIR
add cx,fso
mov ds:[0f8h],cx ; begin buffer W
ADD CX,AX
mov... |
%include "lib.asm"
extern ExitProcess
section .text
MAX_N EQU 100
NWLN db 10, 0
TAB db ' ', 0
MSG_ENTER_N db "Enter N (0-100): ", 0
MSG_INPUT_1 db "Enter #", 0
MSG_INPUT_2 db " Number: ", 0
section .bss
array resd MAX_N
buffer resb 25
section .data
section .code
global _start
getArray:
enter 0, 0
pus... |
#ifndef SCENE_HPP
#define SCENE_HPP
//#include <memory>
//#include <thread>
//#include <iterator>
//#include <string>
//#include <chrono>
//#include <set>
//#include <vector>
//#include <array>
//#include <iostream>
#include "underworlds.grpc.pb.h"
#include "base_types.hpp"
#include "node.hpp"
#include "nodes.hpp"
... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r14
push %r8
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x489f, %r12
clflush (%r12)
nop
nop
xor $27231, %r9
mov (%r12), %r8
nop
nop
nop
nop
and %rdi, %rdi
lea addresses_WT_ht+0x1989f, %r9
nop
dec %rsi
movb (%r9), %r14b
cmp $26341, %r1... |
; A103452: Inverse of number triangle A103451.
; 1,-1,1,-1,0,1,-1,0,0,1,-1,0,0,0,1,-1,0,0,0,0,1,-1,0,0,0,0,0,1,-1,0,0,0,0,0,0,1,-1,0,0,0,0,0,0,0,1,-1,0,0,0,0,0,0,0,0,1,-1,0,0,0,0,0,0,0,0,0,1,-1,0,0,0,0,0,0,0,0,0,0,1,-1,0,0,0,0,0,0,0,0,0,0,0,1,-1,0,0,0,0,0,0,0,0,0,0,0,0,1,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,-1,0,0,0,0,0,0,0,... |
; A168956: Number of reduced words of length n in Coxeter group on 39 generators S_i with relations (S_i)^2 = (S_i S_j)^22 = I.
; 1,39,1482,56316,2140008,81320304,3090171552,117426518976,4462207721088,169563893401344,6443427949251072,244850262071540736,9304309958718547968,353563778431304822784,13435423580389583265792
... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r15
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0xefe8, %rsi
nop
xor $60566, %r11
movups (%rsi), %xmm6
vpextrq $1, %xmm6, %rdi
nop
nop
nop
nop
add %r11, %r11
lea addresses_WC_ht+0x72ec, %rsi
lea addresses_WT_ht+0x2a02, %rdi
nop
nop
n... |
/* -*- mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- */
/*
* Main authors:
* Christian Schulte <schulte@gecode.org>
*
* Copyright:
* Christian Schulte, 2008
*
* Last modified:
* $Date: 2013-07-11 12:30:18 +0200 (to, 11 jul 2013) $ by $Author: schulte $
* $Revision: 13840 $
*
* T... |
; A106328: Numbers j such that 8*(j^2) + 9 = k^2 for some positive number k.
; 0,3,18,105,612,3567,20790,121173,706248,4116315,23991642,139833537,815009580,4750223943,27686334078,161367780525,940520349072,5481754313907,31950005534370,186218278892313,1085359667819508,6325939728024735,36870278700328902,214895732473948677... |
//==================================================================================================
/**
EVE - Expressive Vector Engine
Copyright : EVE Contributors & Maintainers
SPDX-License-Identifier: MIT
**/
//==================================================================================================
#... |
*
* Upper case letters within quotes
*
lds #stack
ldb #26 for all uppercase letters
lda #'A
bsr loop
halt equ *
jmp halt
data equ *
fcc /'/
var equ *
fcb 0
fcc /' /
datalen equ 4
loop equ *
... |
/*-
* Copyright (c) 2014 Peter Tworek
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditio... |
; A255308: Number of times you can apply log_2 to n until the result is not a power of 2. Here log_2 means the base 2 logarithm.
; 0,1,2,0,3,0,0,0,1,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0... |
;*****************************************************************************
;* x86-optimized Float DSP functions
;*
;* Copyright 2006 Loren Merritt
;*
;* This file is part of FFmpeg.
;*
;* FFmpeg is free software; you can redistribute it and/or
;* modify it under the terms of the GNU Lesser General Public
;* License... |
PUBLIC fputc_cons
.fputc_cons
IN A,($80) ; wait for ACIA buffer to be ready
BIT 1,A
JR Z,fputc_cons
ld hl,2
add hl,sp
ld a,(hl); Now A contains the char
OUT ($81),A
RET
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.